blob: 7983208de2689a0aeb6d018672e1e1955cd63338 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "packageurl-python";
version = "0.17.5";
pyproject = true;
src = fetchPypi {
pname = "packageurl_python";
inherit version;
hash = "sha256-p74/O6cNcF9zis6b9hJPMZICRaSfpp1LQW2nA33S3mE=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "packageurl" ];
meta = {
description = "Python parser and builder for package URLs";
homepage = "https://github.com/package-url/packageurl-python";
changelog = "https://github.com/package-url/packageurl-python/blob/v${version}/CHANGELOG.rst";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ armijnhemel ];
};
}
|