3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/packageurl-python/default.nix
2022-03-14 00:28:57 +01:00

23 lines
577 B
Nix

{ buildPythonPackage, fetchPypi, lib, pytestCheckHook }:
buildPythonPackage rec {
pname = "packageurl-python";
version = "0.9.9";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-hyoENLmkSLP6l1cXEfad0qP7cjRa1myQsX2Cev6oLwk=";
};
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 ];
};
}