Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
709 B · 34 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435{ lib, buildPythonPackage, fetchPypi, pyyaml, pytest}:
buildPythonPackage rec { pname = "kaptan"; version = "0.5.12";
src = fetchPypi { inherit pname version; sha256 = "1abd1f56731422fce5af1acc28801677a51e56f5d3c3e8636db761ed143c3dd2"; };
postPatch = '' sed -i "s/==.*//g" requirements/test.txt
substituteInPlace requirements/base.txt --replace 'PyYAML>=3.13,<6' 'PyYAML>=3.13' '';
propagatedBuildInputs = [ pyyaml ];
nativeCheckInputs = [ pytest ];
meta = with lib; { description = "Configuration manager for python applications"; homepage = "https://kaptan.readthedocs.io/"; license = licenses.bsd3; maintainers = with maintainers; [ ]; };
}