blob: c7f2f621a2f6982ec64cc8e44e0de5c3b0fc31c2 (
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
39
40
|
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromSourcehut,
kubo,
packaging,
tomli,
flit-core,
}:
buildPythonPackage rec {
pname = "ipwhl";
version = "1.1.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromSourcehut {
owner = "~cnx";
repo = "ipwhl-utils";
rev = version;
hash = "sha256-YaIYcoUnbiv9wUOFIzGj2sWGbh7NsqRQcqOR2X6+QZA=";
};
nativeBuildInputs = [ flit-core ];
buildInputs = [ kubo ];
propagatedBuildInputs = [
packaging
tomli
];
doCheck = false; # there's no test
pythonImportsCheck = [ "ipwhl" ];
meta = with lib; {
description = "Utilities for the InterPlanetary Wheels";
homepage = "https://git.sr.ht/~cnx/ipwhl-utils";
license = licenses.agpl3Plus;
maintainers = [ maintainers.McSinyx ];
};
}
|