nixpkgs/pkgs/development/python-modules/validators/default.nix
R. RyanTM f5428e1015 python37Packages.validators: 0.13.0 -> 0.14.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-validators/versions
2019-09-28 15:51:14 -07:00

42 lines
643 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, six
, decorator
, pytest
, isort
, flake8
}:
buildPythonPackage rec {
pname = "validators";
version = "0.14.0";
src = fetchPypi {
inherit pname version;
sha256 = "1bhla1l8gbks572zp4f254acz23822dz2mp122djxvp328i87b7h";
};
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 ];
};
}