2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, autoreconfHook, librep, gtk2 }:
|
2015-02-06 16:32:55 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
with lib;
|
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";
|
|
|
|
sourceName = "rep-gtk_${version}";
|
2015-02-06 16:32:55 +00:00
|
|
|
|
2015-04-28 10:05:58 +01:00
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://download.tuxfamily.org/librep/rep-gtk/${sourceName}.tar.xz";
|
2016-10-23 12:06:47 +01:00
|
|
|
sha256 = "0hgkkywm8zczir3lqr727bn7ybgg71x9cwj1av8fykkr8pdpard9";
|
2015-02-06 16:32:55 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ ];
|
2015-02-06 16:32:55 +00:00
|
|
|
propagatedBuildInputs = [ librep gtk2 ];
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -e 's|installdir=$(repexecdir)|installdir=$(libdir)/rep|g' -i Makefile.in
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2019-09-03 23:49:40 +01:00
|
|
|
description = "GTK bindings for librep";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://sawfish.wikia.com";
|
2015-02-06 16:32:55 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
|
|
};
|
|
|
|
}
|
2016-10-23 12:06:47 +01:00
|
|
|
# TODO: investigate fetchFromGithub
|