1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy27
5, decorator
6, six
7, pytestCheckHook
8}:
9
10buildPythonPackage rec {
11 pname = "validators";
12 version = "0.20.0";
13 disabled = isPy27;
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "sha256-JBSM5OZBAKLV4mcjPiPnr+tVMWtH0w+q5+tucpK8Imo=";
18 };
19
20 propagatedBuildInputs = [
21 decorator
22 six
23 ];
24
25 checkInputs = [
26 pytestCheckHook
27 ];
28
29 meta = with lib; {
30 description = "Python Data Validation for Humans™";
31 homepage = "https://github.com/kvesteri/validators";
32 license = licenses.bsd3;
33 maintainers = [ maintainers.costrouc ];
34 };
35}