@@ -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