Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / shutilwhich / default.nix
bloba30e23c894e0e6a0b55a4d5df07c8f80b63935c5
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   checkInputs = [ 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   };