2021-05-07 22:18:14 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, sassc, gtk3, gnome, 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-05-07 22:18:14 +01:00
|
|
|
"-D gnome_version=${lib.versions.majorMinor gnome.gnome-shell.version}"
|
2019-11-02 11:54:33 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
gtk-update-icon-cache "$out"/share/icons/Lounge-aux;
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|