blob: e0101a6672aa4b22d8a648474e3d19898f918be1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{ buildPythonPackage
, typing-extensions
, fetchPypi
, lib
, nix-update-script
, hatch-vcs
, pythonOlder
, importlib-resources
}:
buildPythonPackage rec {
pname = "manifestoo-core";
version = "1.5";
format = "pyproject";
src = fetchPypi {
inherit version;
pname = "manifestoo_core";
hash = "sha256-a3v2WfJ42bh2LlAsH9ekpLFsAlOiTTLGNknTW2mTxCI=";
};
nativeBuildInputs = [
hatch-vcs
];
propagatedBuildInputs =
lib.optionals (pythonOlder "3.7") [ importlib-resources ]
++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
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 ];
};
}
|