about summary refs log tree commit diff
path: root/pkgs/development/python-modules/colander/default.nix
blob: ed7cfe9d024104c28b9296edbbc3ce644f615a41 (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
36
37
38
39
40
41
42
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  babel,
  translationstring,
  iso8601,
  pytestCheckHook,
}:

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

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

  nativeBuildInputs = [
    babel
    setuptools
  ];

  propagatedBuildInputs = [
    translationstring
    iso8601
  ];

  pythonImportsCheck = [ "colander" ];

  nativeCheckInputs = [ pytestCheckHook ];

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