1{ lib
2, buildPythonPackage
3, fetchpatch
4, fetchPypi
5, pytestCheckHook
6, hypothesis
7, six
8, strict-rfc3339
9}:
10
11buildPythonPackage rec {
12 pname = "rfc3339-validator";
13 version = "0.1.4";
14
15 src = fetchPypi {
16 pname = "rfc3339_validator";
17 inherit version;
18 sha256 = "0srg0b89aikzinw72s433994k5gv5lfyarq1adhas11kz6yjm2hk";
19 };
20
21 propagatedBuildInputs = [ six ];
22
23 checkInputs = [ pytestCheckHook hypothesis strict-rfc3339 ];
24 pythonImportsCheck = [ "rfc3339_validator" ];
25
26 meta = with lib; {
27 description = "RFC 3339 validator for Python";
28 homepage = "https://github.com/naimetti/rfc3339-validator";
29 license = licenses.mit;
30 maintainers = with maintainers; [ AluisioASG ];
31 };
32}