2021-05-20 23:08:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, sassc, gtk3, gnome, gdk-pixbuf, librsvg, gtk-engine-murrine }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "lounge-gtk-theme";
|
2020-10-19 00:13:06 +00:00
|
|
|
version = "1.24";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "monday15";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-10-19 00:13:06 +00:00
|
|
|
sha256 = "0ima0aa5j296xn4y0d1zj6vcdrdpnihqdidj7bncxzgbnli1vazs";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja sassc gtk3 ];
|
|
|
|
|
|
|
|
buildInputs = [ gdk-pixbuf librsvg ];
|
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
|
|
|
|
|
|
mesonFlags = [
|
2021-05-20 23:08:51 +00:00
|
|
|
"-D gnome_version=${lib.versions.majorMinor gnome.gnome-shell.version}"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
gtk-update-icon-cache "$out"/share/icons/Lounge-aux;
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +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";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|