diff options
author | Victor multun Collod <victor.collod@epita.fr> | 2019-12-29 19:35:41 +0100 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-01-03 02:10:22 -0800 |
commit | 7cce13c5aa07c60e6eba419fe84c67b51e809bef (patch) | |
tree | 002eec9434310571cb1c8c933066e9e292d8da0d /pkgs/development/python-modules/shutilwhich | |
parent | 0c76aa6414dd5900821699e707f43e570d2804a6 (diff) |
pythonPackages.shutilwhich: init at 1.1.0
Diffstat (limited to 'pkgs/development/python-modules/shutilwhich')
-rw-r--r-- | pkgs/development/python-modules/shutilwhich/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/shutilwhich/default.nix b/pkgs/development/python-modules/shutilwhich/default.nix new file mode 100644 index 0000000000000..d88141c8b3584 --- /dev/null +++ b/pkgs/development/python-modules/shutilwhich/default.nix @@ -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 ]; + }; +} |