about summary refs log tree commit diff
path: root/pkgs/misc/themes/arc/default.nix
blob: b14746cfec50b62f109fbbbf69805991d68f2fbf (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
28
29
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gnome3, gtk, gtk-engine-murrine }:

stdenv.mkDerivation rec {
  version = "2016-06-02";
  name = "arc-gtk-theme-${version}";

  src = fetchFromGitHub {
    owner = "horst3180";
    repo = "arc-theme";
    rev = "226098a06b646981022f0e260fd4d3ca64ff5616";
    sha256 = "1lg2iig1rws2h0p7qy1pavphyzdcchmfdlv126696jczz21d67qm";
  };

  nativeBuildInputs = [ autoreconfHook pkgconfig ];

  buildInputs = [ gtk-engine-murrine ];

  preferLocalBuild = true;

  configureFlags = "--with-gnome=${gnome3.version}";

  meta = with stdenv.lib; {
    description = "A flat theme with transparent elements for GTK 3, GTK 2 and Gnome-Shell";
    homepage = "https://github.com/horst3180/Arc-theme";
    license = licenses.gpl3;
    platforms = platforms.linux;
    maintainers = with maintainers; [ simonvandel romildo ];
  };
}