python3Packages.manifestoo: init at 0.7

This commit is contained in:
Jairo Llopis
2023-07-06 11:56:24 +01:00
parent dd4cb577d9
commit cb0966b94f
2 changed files with 53 additions and 0 deletions
@@ -0,0 +1,51 @@
{ buildPythonPackage
, fetchPypi
, hatch-vcs
, importlib-metadata
, lib
, manifestoo-core
, nix-update-script
, pytestCheckHook
, pythonOlder
, textual
, typer
, typing-extensions
}:
buildPythonPackage rec {
pname = "manifestoo";
version = "0.7";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-gCGchc+fShBgt6fVJAx80+QnH+vxWo3jsIyePkFwhYE=";
};
nativeBuildInputs = [
hatch-vcs
];
nativeCheckInputs = [
pytestCheckHook
];
propagatedBuildInputs = [
manifestoo-core
textual
typer
]
++ typer.passthru.optional-dependencies.all
++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
SETUPTOOLS_SCM_PRETEND_VERSION = version;
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "A tool to reason about Odoo addons manifests";
homepage = "https://github.com/acsone/manifestoo";
license = licenses.mit;
maintainers = with maintainers; [ yajo ];
};
}
+2
View File
@@ -6101,6 +6101,8 @@ self: super: with self; {
manifest-ml = callPackage ../development/python-modules/manifest-ml { };
manifestoo = callPackage ../development/python-modules/manifestoo { };
manifestoo-core = callPackage ../development/python-modules/manifestoo-core { };
manifestparser = callPackage ../development/python-modules/marionette-harness/manifestparser.nix { };