forked from mirrors/nixpkgs
python310Packages.confection: init at 0.0.3
This commit is contained in:
parent
ced197be72
commit
9dfd4741c4
43
pkgs/development/python-modules/confection/default.nix
Normal file
43
pkgs/development/python-modules/confection/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue