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..558c61d986ad --- /dev/null +++ b/nixpkgs/pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix @@ -0,0 +1,42 @@ +{ lib +, stdenv +, fetchFromGitHub +, nix-update-script +, meson +, ninja +, gettext +, sassc +}: + +stdenv.mkDerivation rec { + pname = "elementary-gtk-theme"; + version = "6.1.1"; + + src = fetchFromGitHub { + owner = "elementary"; + repo = "stylesheet"; + rev = version; + sha256 = "sha256-gciBn5MQ5Cu+dROL5kCt2GCbNA7W4HOWXyjMBd4OP+8="; + }; + + nativeBuildInputs = [ + gettext + meson + ninja + sassc + ]; + + passthru = { + updateScript = nix-update-script { + attrPath = "pantheon.${pname}"; + }; + }; + + meta = with lib; { + description = "GTK theme designed to be smooth, attractive, fast, and usable"; + homepage = "https://github.com/elementary/stylesheet"; + license = licenses.gpl3Plus; + platforms = platforms.linux; + maintainers = teams.pantheon.members; + }; +} |