1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 buildPythonPackage,
6 pillow,
7 setuptools,
8}:
9
10buildPythonPackage rec {
11 pname = "ttkbootstrap";
12 version = "1.14.2";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "israel-dryer";
17 repo = "ttkbootstrap";
18 tag = "v${version}";
19 hash = "sha256-D1Gx+gP6xbeOhKcjb2uhwhHlYFhma9y04tp0ibJCw6g=";
20 };
21
22 build-system = [
23 setuptools
24 ];
25
26 dependencies = [
27 pillow
28 ];
29
30 pythonRelaxDeps = [ "pillow" ];
31
32 # As far as I can tell, all tests require a display and are not normal-ish pytests
33 # but appear to just be python scripts that run demos of components?
34 doCheck = false;
35
36 meta = {
37 description = "Supercharged theme extension for tkinter inspired by Bootstrap";
38 homepage = "https://github.com/israel-dryer/ttkbootstrap";
39 maintainers = with lib.maintainers; [ e1mo ];
40 license = lib.licenses.mit;
41 };
42}