about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/validators/default.nix
blob: 2f562a02ffdd17765c3c9af719135540c093049a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, decorator
, six
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "validators";
  version = "0.20.0";
  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-JBSM5OZBAKLV4mcjPiPnr+tVMWtH0w+q5+tucpK8Imo=";
  };

  propagatedBuildInputs = [
    decorator
    six
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  meta = with lib; {
    description = "Python Data Validation for Humans™";
    homepage = "https://github.com/kvesteri/validators";
    license = licenses.bsd3;
    maintainers = [ ];
  };
}