mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 20:00:10 +00:00
python313Packages.donfig: init at 0.8.1.post1
This commit is contained in:
54
pkgs/development/python-modules/donfig/default.nix
Normal file
54
pkgs/development/python-modules/donfig/default.nix
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
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; [ ];
|
||||
};
|
||||
}
|
||||
@@ -3853,6 +3853,8 @@ self: super: with self; {
|
||||
|
||||
dominate = callPackage ../development/python-modules/dominate { };
|
||||
|
||||
donfig = callPackage ../development/python-modules/donfig { };
|
||||
|
||||
doorbirdpy = callPackage ../development/python-modules/doorbirdpy { };
|
||||
|
||||
dopy = callPackage ../development/python-modules/dopy { };
|
||||
|
||||
Reference in New Issue
Block a user