python3Packages.manifestoo-core: init at 0.11.0

This commit is contained in:
Jairo Llopis
2023-07-04 13:57:56 +01:00
parent ac66b27438
commit 5ec85dc83e
2 changed files with 42 additions and 0 deletions
@@ -0,0 +1,40 @@
{ buildPythonPackage
, typing-extensions
, fetchPypi
, lib
, nix-update-script
, hatch-vcs
, pythonOlder
, importlib-resources
}:
buildPythonPackage rec {
pname = "manifestoo-core";
version = "0.11.0";
format = "pyproject";
src = fetchPypi {
inherit version;
pname = "manifestoo_core";
hash = "sha256-ZZAJDOtGcYWm0yS5bMOUdM1Jf+kfurwiLsJwyTYPz/4=";
};
nativeBuildInputs = [
hatch-vcs
];
propagatedBuildInputs =
lib.optionals (pythonOlder "3.7") [ importlib-resources ]
++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
SETUPTOOLS_SCM_PRETEND_VERSION = version;
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "A library to reason about Odoo addons manifests";
homepage = "https://github.com/acsone/manifestoo-core";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ yajo ];
};
}
+2
View File
@@ -6097,6 +6097,8 @@ self: super: with self; {
manifest-ml = callPackage ../development/python-modules/manifest-ml { };
manifestoo-core = callPackage ../development/python-modules/manifestoo-core { };
manifestparser = callPackage ../development/python-modules/marionette-harness/manifestparser.nix { };
manuel = callPackage ../development/python-modules/manuel { };