summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs/override/nix-prefetch-github.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-03-11 13:09:34 +0100
committerlassulus <lassulus@lassul.us>2022-03-11 13:09:34 +0100
commit04f48503a4164f91192b147d6c16fc44dae41352 (patch)
tree53b356c9eeb925f7be9859645996c0af0a823796 /tv/5pkgs/override/nix-prefetch-github.nix
parent97dc81c31e56901a2c8702dcf6cb474338123ec2 (diff)
parent15595864d2b70573b2ae0f08fce976226704491b (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/5pkgs/override/nix-prefetch-github.nix')
-rw-r--r--tv/5pkgs/override/nix-prefetch-github.nix47
1 files changed, 0 insertions, 47 deletions
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 ];
- };
-}