summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/colander/default.nix
blob: 652400b0ff1230df714b78d318804a5b4b590a90 (plain)
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
36
37
38
39
40
41
42
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  babel,
  translationstring,
  iso8601,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "colander";
  version = "2.0";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-QZzWgXjS7m7kyuXVyxgwclY0sKKECRcVbonrJZIjfvM=";
  };

  nativeBuildInputs = [
    babel
    setuptools
  ];

  propagatedBuildInputs = [
    translationstring
    iso8601
  ];

  pythonImportsCheck = [ "colander" ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = {
    description = "Simple schema-based serialization and deserialization library";
    homepage = "https://github.com/Pylons/colander";
    license = lib.licenses.free; # http://repoze.org/LICENSE.txt
    maintainers = [ ];
  };
}