stevenblack-blocklist: 3.15.5 -> 3.15.8 (#372042)
[NixPkgs.git] / pkgs / development / python-modules / manifestoo-core / default.nix
blobf427fb1ff56aa6ce764a331a9effe95744d47ae4
2   buildPythonPackage,
3   typing-extensions,
4   fetchPypi,
5   lib,
6   nix-update-script,
7   hatch-vcs,
8   pythonOlder,
9   importlib-resources,
12 buildPythonPackage rec {
13   pname = "manifestoo-core";
14   version = "1.8.2";
15   format = "pyproject";
17   src = fetchPypi {
18     inherit version;
19     pname = "manifestoo_core";
20     hash = "sha256-e/kpgGaaQqPI+4WeHXYpVc01t5vexHlmsDuAoGFShEM=";
21   };
23   nativeBuildInputs = [ hatch-vcs ];
25   propagatedBuildInputs =
26     lib.optionals (pythonOlder "3.7") [ importlib-resources ]
27     ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
29   passthru.updateScript = nix-update-script { };
31   meta = with lib; {
32     description = "Library to reason about Odoo addons manifests";
33     homepage = "https://github.com/acsone/manifestoo-core";
34     license = licenses.lgpl3Only;
35     maintainers = with maintainers; [ yajo ];
36   };