evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / urwidtrees / default.nix
blobc50502c3df549323e29647a2e39036bca26ec9e0
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   fetchpatch,
6   setuptools,
7   urwid,
8 }:
10 buildPythonPackage rec {
11   pname = "urwidtrees";
12   version = "1.0.3";
13   pyproject = true;
15   src = fetchFromGitHub {
16     owner = "pazz";
17     repo = "urwidtrees";
18     rev = "refs/tags/${version}";
19     hash = "sha256-yGSjwagCd5TiwEFtF6ZhDuVqj4PTa5pVXhs8ebr2O/g=";
20   };
22   patches = [
23     (fetchpatch {
24       url = "https://github.com/pazz/urwidtrees/commit/ed39dbc4fc67b0e0249bf108116a88cd18543aa9.patch";
25       hash = "sha256-fA+30d2uVaoNCg4rtoWLNPvrZtq41Co4vcmM80hkURs=";
26     })
27   ];
29   nativeBuildInputs = [ setuptools ];
31   propagatedBuildInputs = [ urwid ];
33   # Module has no tests
34   doCheck = false;
36   pythonImportsCheck = [ "urwidtrees" ];
38   meta = with lib; {
39     description = "Tree widgets for urwid";
40     homepage = "https://github.com/pazz/urwidtrees";
41     changelog = "https://github.com/pazz/urwidtrees/releases/tag/${version}";
42     license = licenses.gpl3Plus;
43     maintainers = [ ];
44   };