1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "lazr-uri";
11 version = "1.0.7";
12 pyproject = true;
13
14 src = fetchPypi {
15 pname = "lazr_uri";
16 inherit version;
17 hash = "sha256-7Qz28zPkUBFHUq+xzgwpnDasSxCQY+tQNUxPh/glo+4=";
18 };
19
20 build-system = [ setuptools ];
21
22 dependencies = [ setuptools ];
23
24 pythonImportsCheck = [ "lazr.uri" ];
25
26 nativeCheckInputs = [ pytestCheckHook ];
27
28 pythonNamespaces = [ "lazr" ];
29
30 meta = {
31 description = "Self-contained, easily reusable library for parsing, manipulating";
32 homepage = "https://launchpad.net/lazr.uri";
33 changelog = "https://git.launchpad.net/lazr.uri/tree/NEWS.rst?h=${version}";
34 license = lib.licenses.lgpl3Only;
35 maintainers = [ ];
36 };
37}