blob: cc73908d5da2537de56704a8a6d41d5c2679d5cd (
plain)
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
41
42
43
44
45
46
47
48
49
50
|
{
lib,
buildPythonPackage,
fetchPypi,
chardet,
attrs,
commoncode,
pytestCheckHook,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "debian-inspector";
version = "31.1.1";
pyproject = true;
src = fetchPypi {
pname = "debian_inspector";
inherit version;
hash = "sha256-uyFsYrb7D9cM1OQzkIERX0oV711uI/TEKF6t67z8egU=";
};
dontConfigure = true;
build-system = [ setuptools-scm ];
dependencies = [
chardet
attrs
];
nativeCheckInputs = [
commoncode
pytestCheckHook
];
pythonImportsCheck = [ "debian_inspector" ];
meta = {
description = "Utilities to parse Debian package, copyright and control files";
homepage = "https://github.com/nexB/debian-inspector";
changelog = "https://github.com/aboutcode-org/debian-inspector/blob/v${version}/CHANGELOG.rst";
license = with lib.licenses; [
asl20
bsd3
mit
];
maintainers = [ ];
};
}
|