blob: a99ee507936b673548dde53183ec0e36b37e7888 (
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
|
{
lib,
fetchFromGitHub,
buildPythonPackage,
nix-update-script,
setuptools,
}:
buildPythonPackage rec {
pname = "spdx";
version = "2.5";
pyproject = true;
src = fetchFromGitHub {
owner = "bbqsrc";
repo = "spdx-python";
rev = "refs/tags/v${version}";
hash = "sha256-lfTgAX4Wl01xrvLA12ZUqjah7ZiLafMAU+yNNdVkRk0=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "spdx" ];
# upstream has no tests
doCheck = false;
passthru.updateScript = nix-update-script { };
meta = {
description = "SPDX license list database";
homepage = "https://github.com/bbqsrc/spdx-python";
changelog = "https://github.com/bbqsrc/spdx-python/releases/tag/v${version}";
license = lib.licenses.cc0;
maintainers = with lib.maintainers; [ jnsgruk ];
};
}
|