summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rfc3986/default.nix
blob: 29ecb5f9296260dcaa888fab3871d6ee21a2d688 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  lib,
  buildPythonPackage,
  fetchPypi,
  idna,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "rfc3986";
  version = "2.0.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-l6rPnb1L/YKbqtbmMJ+mVzqvG+P2+nNcirBeRs7LJhw=";
  };

  propagatedBuildInputs = [ idna ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "rfc3986" ];

  meta = {
    description = "Validating URI References per RFC 3986";
    homepage = "https://rfc3986.readthedocs.org";
    license = lib.licenses.asl20;
    maintainers = [ ];
  };
}