mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
f5428e1015
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
42 lines
643 B
Nix
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 ];
|
|
};
|
|
}
|