2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pytestCheckHook,
|
|
|
|
hypothesis,
|
|
|
|
six,
|
|
|
|
strict-rfc3339,
|
2021-05-03 20:48:10 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rfc3339-validator";
|
2021-05-20 23:08:51 +00:00
|
|
|
version = "0.1.4";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-05-03 20:48:10 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "rfc3339_validator";
|
|
|
|
inherit version;
|
2021-05-20 23:08:51 +00:00
|
|
|
sha256 = "0srg0b89aikzinw72s433994k5gv5lfyarq1adhas11kz6yjm2hk";
|
2021-05-03 20:48:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
hypothesis
|
|
|
|
strict-rfc3339
|
|
|
|
];
|
2021-05-03 20:48:10 +00:00
|
|
|
pythonImportsCheck = [ "rfc3339_validator" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "RFC 3339 validator for Python";
|
|
|
|
homepage = "https://github.com/naimetti/rfc3339-validator";
|
|
|
|
license = licenses.mit;
|
2024-09-19 14:19:46 +00:00
|
|
|
maintainers = [ ];
|
2021-05-03 20:48:10 +00:00
|
|
|
};
|
|
|
|
}
|