about summary refs log tree commit diff
path: root/pkgs/development/python-modules/sv-ttk/default.nix
blob: 834178a5c236270ccba3a94a6ff81bdc175c9c9c (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
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, tkinter
}:

buildPythonPackage rec {
  pname = "sv-ttk";
  version = "2.6.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";

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

  # No tests available
  doCheck = false;

  propagatedBuildInputs = [
    tkinter
  ];

  pythonImportsCheck = [
    "sv_ttk"
  ];

  meta = with lib; {
    description = "A gorgeous theme for Tkinter/ttk, based on the Sun Valley visual style";
    homepage = "https://github.com/rdbende/Sun-Valley-ttk-theme";
    changelog = "https://github.com/rdbende/Sun-Valley-ttk-theme/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ AngryAnt ];
  };
}