mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
37 lines
809 B
Nix
37 lines
809 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 = "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 ];
|
|
};
|
|
}
|