Merge pull request #198850 from fabaff/confection
python310Packages.confection: init at 0.0.3
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user