diff options
Diffstat (limited to 'nixpkgs/pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix')
-rw-r--r-- | nixpkgs/pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix b/nixpkgs/pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix new file mode 100644 index 000000000000..437f37941220 --- /dev/null +++ b/nixpkgs/pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix @@ -0,0 +1,42 @@ +{ lib, stdenv +, fetchFromGitHub +, nix-update-script +, pantheon +, meson +, ninja +, gettext +}: + +stdenv.mkDerivation rec { + pname = "elementary-gtk-theme"; + version = "5.4.2"; + + repoName = "stylesheet"; + + src = fetchFromGitHub { + owner = "elementary"; + repo = repoName; + rev = version; + sha256 = "sha256-eE0/LLdnpxOpBvdpioGKV/DOQ5lIuQt9dPnhGkQDGCs="; + }; + + passthru = { + updateScript = nix-update-script { + attrPath = "pantheon.${pname}"; + }; + }; + + nativeBuildInputs = [ + gettext + meson + ninja + ]; + + meta = with lib; { + description = "GTK theme designed to be smooth, attractive, fast, and usable"; + homepage = "https://github.com/elementary/stylesheet"; + license = licenses.gpl3; + platforms = platforms.linux; + maintainers = pantheon.maintainers; + }; +} |