nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 tkinter,
6}:
7
8buildPythonPackage rec {
9 pname = "sv-ttk";
10 version = "2.6.1";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit version;
15 pname = "sv_ttk";
16 hash = "sha256-R1idXiA5jPQE6DYvJPPtSPODDNCs4FbYM1T6Jdjk/kg=";
17 };
18
19 # No tests available
20 doCheck = false;
21
22 propagatedBuildInputs = [ tkinter ];
23
24 pythonImportsCheck = [ "sv_ttk" ];
25
26 meta = {
27 description = "Gorgeous theme for Tkinter/ttk, based on the Sun Valley visual style";
28 homepage = "https://github.com/rdbende/Sun-Valley-ttk-theme";
29 changelog = "https://github.com/rdbende/Sun-Valley-ttk-theme/releases/tag/v${version}";
30 license = lib.licenses.mit;
31 maintainers = with lib.maintainers; [ AngryAnt ];
32 };
33}