1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 idna,
6 pytestCheckHook,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "rfc3986";
12 version = "2.0.0";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-l6rPnb1L/YKbqtbmMJ+mVzqvG+P2+nNcirBeRs7LJhw=";
20 };
21
22 propagatedBuildInputs = [ idna ];
23
24 nativeCheckInputs = [ pytestCheckHook ];
25
26 pythonImportsCheck = [ "rfc3986" ];
27
28 meta = with lib; {
29 description = "Validating URI References per RFC 3986";
30 homepage = "https://rfc3986.readthedocs.org";
31 license = licenses.asl20;
32 maintainers = [ ];
33 };
34}