1{
2 buildPythonPackage,
3 fetchPypi,
4 hatch-vcs,
5 lib,
6 manifestoo-core,
7 nix-update-script,
8 pytestCheckHook,
9 textual,
10 typer,
11}:
12
13buildPythonPackage rec {
14 pname = "manifestoo";
15 version = "1.0";
16 format = "pyproject";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-iP9QVyAvKMTo8GuceiXWALmWKQ9yLX2qxl0S7IT+kMA=";
21 };
22
23 nativeBuildInputs = [ hatch-vcs ];
24
25 nativeCheckInputs = [ pytestCheckHook ];
26
27 propagatedBuildInputs =
28 [
29 manifestoo-core
30 textual
31 typer
32 ];
33
34 passthru.updateScript = nix-update-script { };
35
36 meta = with lib; {
37 description = "Tool to reason about Odoo addons manifests";
38 homepage = "https://github.com/acsone/manifestoo";
39 license = licenses.mit;
40 maintainers = with maintainers; [ yajo ];
41 };
42}