summary refs log tree commit diff
path: root/pkgs/development/libraries/rep-gtk/default.nix
blob: 070baf7ae794f97f6d60bfdc01663ff1dedb7163 (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, fetchgit, pkgconfig, autoreconfHook, librep, gtk2 }:

with stdenv.lib;
stdenv.mkDerivation rec {

  name = "rep-gtk-git-2015-02-15";

  src = fetchgit {
    url = "https://github.com/SawfishWM/rep-gtk.git";
    rev = "74ac3504f2bbbcc9ded005ab97cbf94cdc47924d";
    sha256 = "edb47c5b6d09201d16a8f0616d18690ff0a37dca56d31c6e635b286bd0b6a031";
  };

  buildInputs = [ pkgconfig autoreconfHook ];
  propagatedBuildInputs = [ librep gtk2 ];

  patchPhase = ''
    sed -e 's|installdir=$(repexecdir)|installdir=$(libdir)/rep|g' -i Makefile.in
  '';

  meta = {
    description = "GTK+ bindings for librep";
    homepage = http://sawfish.wikia.com;
    license = licenses.gpl2;
    maintainers = [ maintainers.AndersonTorres ];
  };
}