Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
805 B · 44 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchPypi, pyyaml, pytestCheckHook, setuptools}:
buildPythonPackage rec { pname = "kaptan"; version = "0.6.0"; format = "pyproject";
src = fetchPypi { inherit pname version; hash = "sha256-EBMwpE/e3oiFhvMBC9FFwOxIpIBrxWQp+lSHpndAIfg="; };
postPatch = '' sed -i "s/==.*//g" requirements/test.txt
substituteInPlace requirements/base.txt --replace 'PyYAML>=3.13,<6' 'PyYAML>=3.13' '';
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ pyyaml ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; { description = "Configuration manager for python applications"; homepage = "https://kaptan.readthedocs.io/"; license = licenses.bsd3; maintainers = with maintainers; [ ]; };
}