3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/kaptan/default.nix

33 lines
625 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, pyyaml
2019-04-23 09:37:44 +01:00
, pytest
}:
buildPythonPackage rec {
pname = "kaptan";
2019-04-23 09:37:44 +01:00
version = "0.5.12";
src = fetchPypi {
inherit pname version;
2019-04-23 09:37:44 +01:00
sha256 = "1abd1f56731422fce5af1acc28801677a51e56f5d3c3e8636db761ed143c3dd2";
};
postPatch = ''
2019-04-23 09:37:44 +01:00
sed -i "s/==.*//g" requirements/test.txt
'';
propagatedBuildInputs = [ pyyaml ];
2019-04-23 09:37:44 +01:00
checkInputs = [ pytest ];
meta = with stdenv.lib; {
description = "Configuration manager for python applications";
homepage = "https://kaptan.readthedocs.io/";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}