diff options
author | tv <tv@krebsco.de> | 2022-03-05 08:53:22 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-03-05 08:55:59 +0100 |
commit | 1d571e614d993bf747fff7c5211d50315744de94 (patch) | |
tree | ae350906282349b9e990a74a8baab87a3f0e7b2b /tv | |
parent | e3785b22b2c6cb173a58fd066c4eda80a67fb872 (diff) |
tv nix-prefetch-github: rip
Diffstat (limited to 'tv')
-rw-r--r-- | tv/5pkgs/override/default.nix | 2 | ||||
-rw-r--r-- | tv/5pkgs/override/nix-prefetch-github.nix | 47 |
2 files changed, 0 insertions, 49 deletions
diff --git a/tv/5pkgs/override/default.nix b/tv/5pkgs/override/default.nix index 4fb2e8061..9d06e1067 100644 --- a/tv/5pkgs/override/default.nix +++ b/tv/5pkgs/override/default.nix @@ -19,6 +19,4 @@ self: super: { outputHashMode = null; }); - nix-prefetch-github = - self.python3Packages.callPackage ./nix-prefetch-github.nix {}; } diff --git a/tv/5pkgs/override/nix-prefetch-github.nix b/tv/5pkgs/override/nix-prefetch-github.nix deleted file mode 100644 index 67873f929..000000000 --- a/tv/5pkgs/override/nix-prefetch-github.nix +++ /dev/null @@ -1,47 +0,0 @@ -{ fetchPypi -, lib -, buildPythonPackage -, pythonOlder -, attrs -, click -, effect -, jinja2 -, git -, pytestCheckHook -, pytest-black -, pytestcov -, pytest-isort -}: - -buildPythonPackage rec { - pname = "nix-prefetch-github"; - version = "3.0"; - - src = fetchPypi { - inherit pname version; - sha256 = "sha256-EN+EbVXUaf+id5UsK4EBm/9k9FYaH79g08kblvW60XA="; - }; - - propagatedBuildInputs = [ - attrs - click - effect - jinja2 - ]; - - checkInputs = [ pytestCheckHook pytest-black pytestcov pytest-isort git ]; - checkPhase = '' - pytest -m 'not network' - ''; - - # latest version of isort will cause tests to fail - # ignore tests which are impure - disabledTests = [ "isort" "life" "outputs" "fetch_submodules" ]; - - meta = with lib; { - description = "Prefetch sources from github"; - homepage = "https://github.com/seppeljordan/nix-prefetch-github"; - license = licenses.gpl3; - maintainers = with maintainers; [ seppeljordan ]; - }; -} |