python3Packages.more-properties: init at 1.1.1
This commit is contained in:
parent
746256345f
commit
d88f9f6a3b
@ -40,7 +40,7 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "A collection of property variants";
|
||||
homepage = "https://github.com/madman-bob/python-more-properties";
|
||||
licenses = lib.licenses.mit;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
|
80
pkgs/development/python-modules/xsdata/default.nix
Normal file
80
pkgs/development/python-modules/xsdata/default.nix
Normal file
@ -0,0 +1,80 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, click
|
||||
, click-default-group
|
||||
, docformatter
|
||||
, jinja2
|
||||
, toposort
|
||||
, lxml
|
||||
, requests
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "xsdata";
|
||||
version = "22.5";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "701dcda5a4a07df3a642f8fb6f73f0e2e18224d359bcb7f4212b3c29d7af72c2";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--benchmark-skip" ""
|
||||
'';
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
cli = [
|
||||
click
|
||||
click-default-group
|
||||
docformatter
|
||||
jinja2
|
||||
toposort
|
||||
];
|
||||
lxml = [
|
||||
lxml
|
||||
];
|
||||
soap = [
|
||||
requests
|
||||
];
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
] ++ passthru.optional-dependencies.cli
|
||||
++ passthru.optional-dependencies.lxml
|
||||
++ passthru.optional-dependencies.soap;
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/integration/benchmarks"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"xsdata.formats.dataclass.context"
|
||||
"xsdata.formats.dataclass.models.elements"
|
||||
"xsdata.formats.dataclass.models.generics"
|
||||
"xsdata.formats.dataclass.parsers"
|
||||
"xsdata.formats.dataclass.parsers.handlers"
|
||||
"xsdata.formats.dataclass.parsers.nodes"
|
||||
"xsdata.formats.dataclass.serializers"
|
||||
"xsdata.formats.dataclass.serializers.config"
|
||||
"xsdata.formats.dataclass.serializers.mixins"
|
||||
"xsdata.formats.dataclass.serializers.writers"
|
||||
"xsdata.models.config"
|
||||
"xsdata.utils.text"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Python XML Binding";
|
||||
homepage = "https://github.com/tefra/xsdata";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -11241,6 +11241,8 @@ in {
|
||||
|
||||
xpybutil = callPackage ../development/python-modules/xpybutil { };
|
||||
|
||||
xsdata = callPackage ../development/python-modules/xsdata { };
|
||||
|
||||
xstatic-bootbox = callPackage ../development/python-modules/xstatic-bootbox { };
|
||||
|
||||
xstatic-bootstrap = callPackage ../development/python-modules/xstatic-bootstrap { };
|
||||
|
Loading…
Reference in New Issue
Block a user