pythonPackages.nix-prefetch-github: 4.0.4 -> 5.0.1
This commit is contained in:
parent
c3b42ec9cb
commit
b704d85cce
1 changed files with 7 additions and 15 deletions
|
@ -1,18 +1,13 @@
|
||||||
{ fetchFromGitHub
|
{ fetchFromGitHub
|
||||||
, lib
|
, lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, attrs
|
|
||||||
, click
|
|
||||||
, effect
|
|
||||||
, git
|
, git
|
||||||
, pytestCheckHook
|
|
||||||
, pytest-cov
|
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "nix-prefetch-github";
|
pname = "nix-prefetch-github";
|
||||||
version = "4.0.4";
|
version = "5.0.1";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
@ -20,19 +15,16 @@ buildPythonPackage rec {
|
||||||
owner = "seppeljordan";
|
owner = "seppeljordan";
|
||||||
repo = "nix-prefetch-github";
|
repo = "nix-prefetch-github";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "g5G818Gq5EGyRIyg/ZW7guxMS0IyJ4nYaRjG/CtGhuc=";
|
sha256 = "DOmFfUCLJ+rnS4PznQaQrDrqjUU4DXmOrC9BspqKZVM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
checkInputs = [ git ];
|
||||||
attrs
|
|
||||||
click
|
|
||||||
effect
|
|
||||||
];
|
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook pytest-cov git ];
|
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
python -m unittest discover
|
||||||
|
'';
|
||||||
# ignore tests which are impure
|
# ignore tests which are impure
|
||||||
disabledTests = [ "network" "requires_nix_build" ];
|
DISABLED_TESTS = "network requires_nix_build";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Prefetch sources from github";
|
description = "Prefetch sources from github";
|
||||||
|
|
Loading…
Reference in a new issue