2015-04-28 12:05:58 +03:00
|
|
|
{ stdenv, fetchurl, pkgconfig, autoreconfHook, librep, gtk2 }:
|
2015-02-06 19:32:55 +03:00
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2015-04-28 12:05:58 +03:00
|
|
|
name = "rep-gtk-${version}";
|
|
|
|
version = "0.90.8.2";
|
2015-02-06 19:32:55 +03:00
|
|
|
|
2015-04-28 12:05:58 +03:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/SawfishWM/rep-gtk/archive/${name}.tar.gz";
|
|
|
|
sha256 = "0pkpp7pj22c8hkyyivr9qw6q08ad42alynsf54ixdy6p9wn4qs1r";
|
2015-02-06 19:32:55 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|