python3Packages.rfc3339-validator: init at 0.1.3

This commit is contained in:
Aluísio Augusto Silva Gonçalves 2021-04-26 18:45:30 -03:00
parent 8e4fe32876
commit c52c7fb467
No known key found for this signature in database
GPG Key ID: DA6EA2FACDB1CBD2
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, hypothesis
, six
, strict-rfc3339
}:
buildPythonPackage rec {
pname = "rfc3339-validator";
version = "0.1.3";
src = fetchPypi {
pname = "rfc3339_validator";
inherit version;
sha256 = "7a578aa0740e9ee2b48356fe1f347139190c4c72e27f303b3617054efd15df32";
};
propagatedBuildInputs = [ six ];
checkInputs = [ pytestCheckHook hypothesis strict-rfc3339 ];
pythonImportsCheck = [ "rfc3339_validator" ];
meta = with lib; {
description = "RFC 3339 validator for Python";
homepage = "https://github.com/naimetti/rfc3339-validator";
license = licenses.mit;
maintainers = with maintainers; [ AluisioASG ];
};
}

View File

@ -7020,6 +7020,8 @@ in {
retworkx = callPackage ../development/python-modules/retworkx { };
rfc3339-validator = callPackage ../development/python-modules/rfc3339-validator { };
rfc3986 = callPackage ../development/python-modules/rfc3986 { };
rfc3987 = callPackage ../development/python-modules/rfc3987 { };