linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / kaptan / default.nix
blobc5f00393839e5484f337d6c2f894c63c27706d15
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pyyaml
5 , pytest
6 }:
8 buildPythonPackage rec {
9   pname = "kaptan";
10   version = "0.5.12";
12   src = fetchPypi {
13     inherit pname version;
14     sha256 = "1abd1f56731422fce5af1acc28801677a51e56f5d3c3e8636db761ed143c3dd2";
15   };
17   postPatch = ''
18     sed -i "s/==.*//g" requirements/test.txt
19   '';
21   propagatedBuildInputs = [ pyyaml ];
23   checkInputs = [ pytest ];
25   meta = with lib; {
26     description = "Configuration manager for python applications";
27     homepage = "https://kaptan.readthedocs.io/";
28     license = licenses.bsd3;
29     maintainers = with maintainers; [ ];
30   };