3
0
Fork 0
forked from mirrors/nixpkgs

python310Packages.confection: init at 0.0.3

This commit is contained in:
Fabian Affolter 2022-10-31 23:52:00 +01:00
parent ced197be72
commit 9dfd4741c4
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pydantic
, pytestCheckHook
, pythonOlder
, srsly
}:
buildPythonPackage rec {
pname = "confection";
version = "0.0.3";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "explosion";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-3qxB94CYCMZN+sKqbmDfkRyAs6HJkFLE/5yJx1DKqYM=";
};
propagatedBuildInputs = [
pydantic
srsly
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"confection"
];
meta = with lib; {
description = "Library that offers a configuration system";
homepage = "https://github.com/explosion/confection";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -1898,6 +1898,8 @@ self: super: with self; {
conda = callPackage ../development/python-modules/conda { };
confection = callPackage ../development/python-modules/confection { };
configargparse = callPackage ../development/python-modules/configargparse { };
configclass = callPackage ../development/python-modules/configclass { };