diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2023-06-11 11:05:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-11 11:05:55 +0200 |
commit | 5427af5a90860117869d142fd7ab4c824f4b9384 (patch) | |
tree | f2ff9227a79bf01722b099b0d5f368d843958192 /pkgs | |
parent | c837fb03ef75214769aa07e12bc7e58bf8c1b431 (diff) | |
parent | 2ca1c7cd54346c21cca295153467cf72ddc2d278 (diff) |
Merge pull request #235803 from AngryAnt/sv-ttk/init
python3Packages.sv-ttk: init at 2.4.5
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/sv-ttk/default.nix | 34 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/sv-ttk/default.nix b/pkgs/development/python-modules/sv-ttk/default.nix new file mode 100644 index 000000000000..3032761032e2 --- /dev/null +++ b/pkgs/development/python-modules/sv-ttk/default.nix @@ -0,0 +1,34 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pythonOlder +}: + +buildPythonPackage rec { + pname = "sv-ttk"; + version = "2.4.5"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchPypi { + inherit version; + pname = "sv_ttk"; + hash = "sha256-ysRhRxrml+wmluH8F5AE7vZYXrTNUg5ZzI+26jwpOpc="; + }; + + # No tests available + doCheck = false; + + 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 23cecba0fb71..9e94dd8ce210 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -11845,6 +11845,8 @@ self: super: with self; { svgwrite = callPackage ../development/python-modules/svgwrite { }; + sv-ttk = callPackage ../development/python-modules/sv-ttk { }; + swagger-spec-validator = callPackage ../development/python-modules/swagger-spec-validator { }; swagger-ui-bundle = callPackage ../development/python-modules/swagger-ui-bundle { }; |