Merge pull request #153227 from seppeljordan/update-nix-prefetch-github

pythonPackages.nix-prefetch-github: 4.0.4 -> 5.0.1
main
Thiago Kenji Okada 2 years ago committed by GitHub
commit 03985162cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 22
      pkgs/development/python-modules/nix-prefetch-github/default.nix

@ -1,18 +1,13 @@
{ fetchFromGitHub
, lib
, buildPythonPackage
, attrs
, click
, effect
, git
, pytestCheckHook
, pytest-cov
, pythonOlder
}:
buildPythonPackage rec {
pname = "nix-prefetch-github";
version = "4.0.4";
version = "5.0.1";
disabled = pythonOlder "3.7";
@ -20,19 +15,16 @@ buildPythonPackage rec {
owner = "seppeljordan";
repo = "nix-prefetch-github";
rev = "v${version}";
sha256 = "g5G818Gq5EGyRIyg/ZW7guxMS0IyJ4nYaRjG/CtGhuc=";
sha256 = "DOmFfUCLJ+rnS4PznQaQrDrqjUU4DXmOrC9BspqKZVM=";
};
propagatedBuildInputs = [
attrs
click
effect
];
checkInputs = [ pytestCheckHook pytest-cov git ];
checkInputs = [ git ];
checkPhase = ''
python -m unittest discover
'';
# ignore tests which are impure
disabledTests = [ "network" "requires_nix_build" ];
DISABLED_TESTS = "network requires_nix_build";
meta = with lib; {
description = "Prefetch sources from github";

Loading…
Cancel
Save