nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ buildPythonPackage, fetchPypi, lib, pytestCheckHook }:
2
3buildPythonPackage rec {
4 pname = "packageurl-python";
5 version = "0.9.9";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "sha256-hyoENLmkSLP6l1cXEfad0qP7cjRa1myQsX2Cev6oLwk=";
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}