forked from mirrors/nixpkgs
ef3912b34c
packageurl: add checkInputs as suggested by review packageurl -> packageurl-python packageurl-python: add missing dependency
23 lines
578 B
Nix
23 lines
578 B
Nix
{ buildPythonPackage, fetchPypi, lib, pytestCheckHook }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "packageurl-python";
|
|
version = "0.9.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0mpvj8imsaqhrgfq1cxx16flc5201y78kqa7bh2i5zxsc29843mx";
|
|
};
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "packageurl" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python parser and builder for package URLs";
|
|
homepage = "https://github.com/package-url/packageurl-python";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ armijnhemel ];
|
|
};
|
|
}
|