Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / backports-shutil-which / default.nix
blob95b47bb6028edadf25dc3aa7165b028e760b7e0c
1 { lib, fetchPypi, buildPythonPackage, pytest }:
3 buildPythonPackage rec {
4   pname = "backports.shutil_which";
5   version = "3.5.2";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "fe39f567cbe4fad89e8ac4dbeb23f87ef80f7fe8e829669d0221ecdb0437c133";
10   };
12   nativeCheckInputs = [ pytest ];
14   checkPhase = ''
15     py.test test
16   '';
18   meta = with lib; {
19     description = "Backport of shutil.which from Python 3.3";
20     homepage = "https://github.com/minrk/backports.shutil_which";
21     license = licenses.psfl;
22     maintainers = with maintainers; [ jluttine ];
23   };