@@ -0,0 +1,22 @@
1+{ buildPythonPackage, fetchPypi, lib, pytestCheckHook }:
2+
3+buildPythonPackage rec {
4+ pname = "packageurl-python";
5+ version = "0.9.4";
6+
7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "0mpvj8imsaqhrgfq1cxx16flc5201y78kqa7bh2i5zxsc29843mx";
10+ };
11+
12+ checkInputs = [ pytestCheckHook ];
13+
14+ pythonImportsCheck = [ "packageurl" ];
15+
16+ meta = with lib; {
17+ description = "Python parser and builder for package URLs";
18+ homepage = "https://github.com/package-url/packageurl-python";
19+ license = licenses.mit;
20+ maintainers = with maintainers; [ armijnhemel ];
21+ };
22+}