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