depot/third_party/nixpkgs/pkgs/development/python-modules/rfc3339-validator/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

37 lines
749 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
hypothesis,
six,
strict-rfc3339,
}:
buildPythonPackage rec {
pname = "rfc3339-validator";
version = "0.1.4";
format = "setuptools";
src = fetchPypi {
pname = "rfc3339_validator";
inherit version;
sha256 = "0srg0b89aikzinw72s433994k5gv5lfyarq1adhas11kz6yjm2hk";
};
propagatedBuildInputs = [ six ];
nativeCheckInputs = [
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 ];
};
}