pythonPackages.shutilwhich: init at 1.1.0
This commit is contained in:
parent
0c76aa6414
commit
7cce13c5aa
30
pkgs/development/python-modules/shutilwhich/default.nix
Normal file
30
pkgs/development/python-modules/shutilwhich/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytest
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "shutilwhich";
|
||||||
|
version = "1.1.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "mbr";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "05fwcjn86w8wprck04iv1zccfi39skdf0lhwpb4b9gpvklyc9mj0";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ pytest ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
pytest -rs
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Backport of shutil.which";
|
||||||
|
license = licenses.psfl;
|
||||||
|
homepage = https://github.com/mbr/shutilwhich;
|
||||||
|
maintainers = with maintainers; [ multun ];
|
||||||
|
};
|
||||||
|
}
|
@ -5225,6 +5225,8 @@ in {
|
|||||||
|
|
||||||
shippai = callPackage ../development/python-modules/shippai {};
|
shippai = callPackage ../development/python-modules/shippai {};
|
||||||
|
|
||||||
|
shutilwhich = callPackage ../development/python-modules/shutilwhich { };
|
||||||
|
|
||||||
simanneal = callPackage ../development/python-modules/simanneal { };
|
simanneal = callPackage ../development/python-modules/simanneal { };
|
||||||
|
|
||||||
simplegeneric = callPackage ../development/python-modules/simplegeneric { };
|
simplegeneric = callPackage ../development/python-modules/simplegeneric { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user