3e2acf8aff
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
32 lines
708 B
Nix
32 lines
708 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchpatch
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, hypothesis
|
|
, six
|
|
, strict-rfc3339
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "rfc3339-validator";
|
|
version = "0.1.4";
|
|
|
|
src = fetchPypi {
|
|
pname = "rfc3339_validator";
|
|
inherit version;
|
|
sha256 = "0srg0b89aikzinw72s433994k5gv5lfyarq1adhas11kz6yjm2hk";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|