nixpkgs/pkgs/data/themes/adapta/default.nix
Jan Tojnar 468cb5980b gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
2021-05-08 09:47:42 +02:00

50 lines
1.1 KiB
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, parallel, sassc, inkscape, libxml2, glib, gdk-pixbuf, librsvg, gtk-engine-murrine, gnome }:
stdenv.mkDerivation rec {
pname = "adapta-gtk-theme";
version = "3.95.0.11";
src = fetchFromGitHub {
owner = "adapta-project";
repo = "adapta-gtk-theme";
rev = version;
sha256 = "19skrhp10xx07hbd0lr3d619vj2im35d8p9rmb4v4zacci804q04";
};
preferLocalBuild = true;
nativeBuildInputs = [
autoreconfHook
pkg-config
parallel
sassc
inkscape
libxml2
glib.dev
gnome.gnome-shell
];
buildInputs = [
gdk-pixbuf
librsvg
];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
postPatch = "patchShebangs .";
configureFlags = [
"--disable-gtk_legacy"
"--disable-gtk_next"
"--disable-unity"
];
meta = with lib; {
description = "An adaptive GTK theme based on Material Design Guidelines";
homepage = "https://github.com/adapta-project/adapta-gtk-theme";
license = with licenses; [ gpl2 cc-by-sa-30 ];
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}