nixpkgs/pkgs/data/themes/lounge/default.nix

36 lines
985 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, meson, ninja, sassc, gtk3, gnome3, gdk-pixbuf, librsvg, gtk-engine-murrine }:
2019-11-02 11:54:33 +00:00
stdenv.mkDerivation rec {
pname = "lounge-gtk-theme";
2020-10-12 16:00:36 +01:00
version = "1.24";
2019-11-02 11:54:33 +00:00
src = fetchFromGitHub {
owner = "monday15";
repo = pname;
rev = version;
2020-10-12 16:00:36 +01:00
sha256 = "0ima0aa5j296xn4y0d1zj6vcdrdpnihqdidj7bncxzgbnli1vazs";
2019-11-02 11:54:33 +00:00
};
nativeBuildInputs = [ meson ninja sassc gtk3 ];
buildInputs = [ gdk-pixbuf librsvg ];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
mesonFlags = [
2021-01-15 07:29:18 +00:00
"-D gnome_version=${lib.versions.majorMinor gnome3.gnome-shell.version}"
2019-11-02 11:54:33 +00:00
];
postFixup = ''
gtk-update-icon-cache "$out"/share/icons/Lounge-aux;
'';
meta = with lib; {
2019-11-02 11:54:33 +00:00
description = "Simple and clean GTK theme with vintage scrollbars, inspired by Absolute, based on Adwaita";
homepage = "https://github.com/monday15/lounge-gtk-theme";
2019-11-02 11:54:33 +00:00
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}