Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / rfc3986 / default.nix
blobd2b4bf57a062cc33a4bd9c53fa6e2cf272f7d621
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , idna
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "rfc3986";
11   version = "2.0.0";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-l6rPnb1L/YKbqtbmMJ+mVzqvG+P2+nNcirBeRs7LJhw=";
19   };
21   propagatedBuildInputs = [
22     idna
23   ];
25   nativeCheckInputs = [
26     pytestCheckHook
27   ];
29   pythonImportsCheck = [
30     "rfc3986"
31   ];
33   meta = with lib; {
34     description = "Validating URI References per RFC 3986";
35     homepage = "https://rfc3986.readthedocs.org";
36     license = licenses.asl20;
37     maintainers = with maintainers; [ ];
38   };