pythonPackages.validators: init at 0.13.0

This commit is contained in:
Chris Ostrouchov 2019-07-12 23:35:21 -04:00
parent af412fcef4
commit bf3dec9150
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchPypi
, six
, decorator
, pytest
, isort
, flake8
}:
buildPythonPackage rec {
pname = "validators";
version = "0.13.0";
src = fetchPypi {
inherit pname version;
sha256 = "ea9bf8bf22aa692c205e12830d90b3b93950e5122d22bed9eb2f2fece0bba298";
};
propagatedBuildInputs = [
six
decorator
];
checkInputs = [
pytest
flake8
isort
];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Python Data Validation for Humans";
homepage = https://github.com/kvesteri/validators;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -2519,6 +2519,8 @@ in {
zope_deprecation = callPackage ../development/python-modules/zope_deprecation { };
validators = callPackage ../development/python-modules/validators { };
validictory = callPackage ../development/python-modules/validictory { };
validate-email = callPackage ../development/python-modules/validate-email { };