evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / clldutils / default.nix
blob0018a2744d9c7f0a3f935bf9ae67cd2cf78e24fb
2   lib,
3   attrs,
4   buildPythonPackage,
5   colorlog,
6   fetchFromGitHub,
7   git,
8   lxml,
9   markdown,
10   markupsafe,
11   mock,
12   postgresql,
13   pylatexenc,
14   pytest-mock,
15   pytestCheckHook,
16   python-dateutil,
17   pythonOlder,
18   setuptools,
19   tabulate,
22 buildPythonPackage rec {
23   pname = "clldutils";
24   version = "3.21.0";
25   pyproject = true;
26   disabled = pythonOlder "3.8";
28   src = fetchFromGitHub {
29     owner = "clld";
30     repo = pname;
31     rev = "v${version}";
32     hash = "sha256-OD+WJ9JuYZb/oXDgVqL4i5YlcVEt0+swq0SB3cutyRo=";
33   };
35   patchPhase = ''
36     substituteInPlace setup.cfg \
37       --replace-fail "--cov" ""
38   '';
40   nativeBuildInputs = [ setuptools ];
42   propagatedBuildInputs = [
43     attrs
44     colorlog
45     lxml
46     markdown
47     markupsafe
48     pylatexenc
49     python-dateutil
50     tabulate
51   ];
53   nativeCheckInputs = [
54     mock
55     postgresql
56     pytest-mock
57     pytestCheckHook
58     git
59   ];
61   meta = with lib; {
62     changelog = "https://github.com/clld/clldutils/blob/${src.rev}/CHANGES.md";
63     description = "Utilities for clld apps without the overhead of requiring pyramid, rdflib et al";
64     homepage = "https://github.com/clld/clldutils";
65     license = licenses.asl20;
66     maintainers = with maintainers; [ melling ];
67   };