depot/third_party/nixpkgs/pkgs/development/python-modules/sv-ttk/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

36 lines
811 B
Nix

{
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 ];
};
}