biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / whichcraft / default.nix
blobe2156831dbb2fb98b7fc746385e4bc6a22499238
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pytest,
6   glibcLocales,
7 }:
9 buildPythonPackage rec {
10   pname = "whichcraft";
11   version = "0.6.1";
12   format = "setuptools";
14   src = fetchPypi {
15     inherit pname version;
16     sha256 = "11yfkzyplizdgndy34vyd5qlmr1n5mxis3a3svxmx8fnccdvknxc";
17   };
19   LC_ALL = "en_US.utf-8";
20   buildInputs = [ glibcLocales ];
22   nativeCheckInputs = [ pytest ];
24   checkPhase = ''
25     py.test
26   '';
28   meta = with lib; {
29     homepage = "https://github.com/pydanny/whichcraft";
30     description = "Cross-platform cross-python shutil.which functionality";
31     license = licenses.bsd3;
32   };