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 12:41:18 +00:00
|
|
|
pname = "rep-gtk";
|
2016-10-23 11:06:47 +00:00
|
|
|
version = "0.90.8.3";
|
2015-02-06 16:32:55 +00:00
|
|
|
|
2015-04-28 09:05:58 +00: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 11:06:47 +00: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 22:49:40 +00: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 11:06:47 +00:00
|
|
|
# TODO: investigate fetchFromGithub
|