depot/third_party/nixpkgs/pkgs/development/python-modules/packageurl-python/default.nix
Default email 5e2a688410 Project import generated by Copybara.
GitOrigin-RevId: 5e2018f7b383aeca6824a30c0cd1978c9532a46a
2021-10-06 10:57:05 -03:00

22 lines
590 B
Nix

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