pythonPackages.validators: init at 0.13.0
This commit is contained in:
parent
af412fcef4
commit
bf3dec9150
41
pkgs/development/python-modules/validators/default.nix
Normal file
41
pkgs/development/python-modules/validators/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user