about summary refs log tree commit diff
path: root/pkgs/misc/themes/adapta/default.nix
blob: 96c43af8485423161acef0b7cc39b067ab036e89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchFromGitHub, autoreconfHook, gtk-engine-murrine }:

stdenv.mkDerivation rec {
  name = "adapta-gtk-theme-${version}";
  version = "3.21.2";

  meta = with stdenv.lib; {
    description = "An adaptive GTK+ theme based on Material Design";
    homepage = "https://github.com/tista500/Adapta";
    license = licenses.gpl2;
    platforms = platforms.linux;
    maintainers = [ maintainers.SShrike ];
  };

  src = fetchFromGitHub {
    owner = "tista500";
    repo = "Adapta";
    rev = "c48da995abc46087c22b05d2cdb0975d10774641";
    sha256 = "17w9nsrwqwgafswyvhc5h8ld2ggi96ix5fjv6yf1hfz3l1ln9qg7";
  };

  preferLocalBuild = true;
  buildInputs = [ gtk-engine-murrine ];
  nativeBuildInputs = [ autoreconfHook ];

  configureFlags = "--enable-chrome --disable-unity";
}