1{
2 lib,
3 buildPythonPackage,
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 format = "setuptools";
15
16 src = fetchPypi {
17 pname = "rfc3339_validator";
18 inherit version;
19 sha256 = "0srg0b89aikzinw72s433994k5gv5lfyarq1adhas11kz6yjm2hk";
20 };
21
22 propagatedBuildInputs = [ six ];
23
24 nativeCheckInputs = [
25 pytestCheckHook
26 hypothesis
27 strict-rfc3339
28 ];
29 pythonImportsCheck = [ "rfc3339_validator" ];
30
31 meta = with lib; {
32 description = "RFC 3339 validator for Python";
33 homepage = "https://github.com/naimetti/rfc3339-validator";
34 license = licenses.mit;
35 maintainers = [ ];
36 };
37}