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