Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 54 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ lib, buildPythonPackage, fetchFromGitHub, setuptools, versioneer, pyyaml, cloudpickle, pytestCheckHook,}:
buildPythonPackage rec { pname = "donfig"; version = "0.8.1.post1"; pyproject = true;
src = fetchFromGitHub { owner = "pytroll"; repo = "donfig"; rev = "v${version}"; hash = "sha256-hF4hzI1MTLgUexRIqwBEEEMV7Az2oDkp5GQQ5282vwE="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "versioneer[toml]==0.28" versioneer '';
build-system = [ setuptools versioneer ];
dependencies = [ pyyaml ];
nativeCheckInputs = [ cloudpickle pytestCheckHook ];
pythonImportsCheck = [ "donfig" ];
meta = { description = "Python library for configuring a package including defaults, env variable loading, and yaml loading"; homepage = "https://github.com/pytroll/donfig"; changelog = "https://github.com/pytroll/donfig/blob/${src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ ]; };}