git.iko.soy/typeable/nixpkgs
on master help sign in
nix-prefetch-github: v2.4 -> v3.0
commite8ee221dd6f04911e046db2808c8356471ce4b82 authorSebastian Jordan <sebastian.jordan.mail@googlemail.com> dateFri 28 Aug 2020, 16:35 (6 years ago) parent9369f74
1 file changed+5−6
pkgs/development/python-modules/nix-prefetch-github/default.nix+5−6
pkgs/development/python-modules/nix-prefetch-github/default.nix+5−6
@@ -15,17 +15,13 @@
1515
1616buildPythonPackage rec {
1717 pname = "nix-prefetch-github";
18− version = "2.4";
18+ version = "3.0";
1919
2020 src = fetchPypi {
2121 inherit pname version;
22− sha256 = "sha256-PVB/cL0NVB5pHxRMjg8TLatvIvHjfCvaRWBanVHYT+E=";
22+ sha256 = "sha256-EN+EbVXUaf+id5UsK4EBm/9k9FYaH79g08kblvW60XA=";
2323 };
2424
25− # The tests for this package require nix and network access. That's
26− # why we cannot execute them inside the building process.
27− doCheck = false;
28−
2925 propagatedBuildInputs = [
3026 attrs
3127 click
@@ -34,6 +30,9 @@ buildPythonPackage rec {
3430 ];
3531
3632 checkInputs = [ pytestCheckHook pytest-black pytestcov pytest-isort git ];
33+ checkPhase = ''
34+ pytest -m 'not network'
35+ '';
3736
3837 # latest version of isort will cause tests to fail
3938 # ignore tests which are impure