Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / whichcraft / default.nix
bloba27b8e1660efee80cdddd03639353b04529066d0
1 { lib, buildPythonPackage, fetchPypi, pytest, glibcLocales }:
3 buildPythonPackage rec {
4   pname = "whichcraft";
5   version = "0.6.1";
6   format = "setuptools";
8   src = fetchPypi {
9     inherit pname version;
10     sha256 = "11yfkzyplizdgndy34vyd5qlmr1n5mxis3a3svxmx8fnccdvknxc";
11   };
13   LC_ALL="en_US.utf-8";
14   buildInputs = [ glibcLocales ];
16   nativeCheckInputs = [ pytest ];
18   checkPhase = ''
19     py.test
20   '';
22   meta = with lib; {
23     homepage = "https://github.com/pydanny/whichcraft";
24     description = "Cross-platform cross-python shutil.which functionality";
25     license = licenses.bsd3;
26   };