Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / shutilwhich / default.nix
blob5bcd2bca8bdd0ff8a20c1a456abf27eb55392f2d
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytest
5 }:
7 buildPythonPackage rec {
8   pname = "shutilwhich";
9   version = "1.1.0";
11   src = fetchFromGitHub {
12     owner = "mbr";
13     repo = pname;
14     rev = version;
15     sha256 = "05fwcjn86w8wprck04iv1zccfi39skdf0lhwpb4b9gpvklyc9mj0";
16   };
18   nativeCheckInputs = [ pytest ];
20   checkPhase = ''
21     pytest -rs
22   '';
24   meta = with lib; {
25     description = "Backport of shutil.which";
26     license = licenses.psfl;
27     homepage = "https://github.com/mbr/shutilwhich";
28     maintainers = with maintainers; [ multun ];
29   };