2021-03-03 18:47:49 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, autoreconfHook
|
|
|
|
, gtk2
|
|
|
|
, librep
|
|
|
|
, pkg-config
|
|
|
|
}:
|
2015-02-06 16:32:55 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "rep-gtk";
|
2016-10-23 12:06:47 +01:00
|
|
|
version = "0.90.8.3";
|
2015-02-06 16:32:55 +00:00
|
|
|
|
2015-04-28 10:05:58 +01:00
|
|
|
src = fetchurl {
|
2021-03-03 18:47:49 +00:00
|
|
|
url = "https://download.tuxfamily.org/librep/${pname}/${pname}_${version}.tar.xz";
|
2016-10-23 12:06:47 +01:00
|
|
|
sha256 = "0hgkkywm8zczir3lqr727bn7ybgg71x9cwj1av8fykkr8pdpard9";
|
2015-02-06 16:32:55 +00:00
|
|
|
};
|
|
|
|
|
2021-03-03 18:47:49 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
gtk2
|
|
|
|
librep
|
|
|
|
];
|
2015-02-06 16:32:55 +00:00
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -e 's|installdir=$(repexecdir)|installdir=$(libdir)/rep|g' -i Makefile.in
|
|
|
|
'';
|
|
|
|
|
2021-03-03 18:47:49 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "http://sawfish.tuxfamily.org";
|
2019-09-03 23:49:40 +01:00
|
|
|
description = "GTK bindings for librep";
|
2021-03-03 18:47:49 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2015-02-06 16:32:55 +00:00
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
2021-03-03 18:47:49 +00:00
|
|
|
platforms = platforms.unix;
|
2015-02-06 16:32:55 +00:00
|
|
|
};
|
|
|
|
}
|
2016-10-23 12:06:47 +01:00
|
|
|
# TODO: investigate fetchFromGithub
|