2015-04-28 11:05:58 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, autoreconfHook, librep, gtk2 }:
|
2015-02-06 17:32:55 +01:00
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2015-04-28 11:05:58 +02:00
|
|
|
name = "rep-gtk-${version}";
|
2016-10-23 13:06:47 +02:00
|
|
|
version = "0.90.8.3";
|
|
|
|
sourceName = "rep-gtk_${version}";
|
2015-02-06 17:32:55 +01:00
|
|
|
|
2015-04-28 11:05:58 +02:00
|
|
|
src = fetchurl {
|
2016-10-23 13:06:47 +02:00
|
|
|
url = "http://download.tuxfamily.org/librep/rep-gtk/${sourceName}.tar.xz";
|
|
|
|
sha256 = "0hgkkywm8zczir3lqr727bn7ybgg71x9cwj1av8fykkr8pdpard9";
|
2015-02-06 17:32:55 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|
2016-10-23 13:06:47 +02:00
|
|
|
# TODO: investigate fetchFromGithub
|