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