2021-03-03 18:47:49 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, autoreconfHook
|
2023-06-09 23:28:00 +00:00
|
|
|
, gtk2-x11
|
2021-03-03 18:47:49 +00:00
|
|
|
, librep
|
|
|
|
, pkg-config
|
|
|
|
}:
|
2015-02-06 16:32:55 +00:00
|
|
|
|
2023-06-09 23:28:00 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
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 {
|
2023-06-09 23:28:00 +00:00
|
|
|
url = "https://download.tuxfamily.org/librep/rep-gtk/rep-gtk_${finalAttrs.version}.tar.xz";
|
|
|
|
hash = "sha256-qWV120V5Tu/QVkFylno47y1/7DriZExHjp99VLmf80E=";
|
2015-02-06 16:32:55 +00:00
|
|
|
};
|
|
|
|
|
2021-03-03 18:47:49 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
2023-06-09 23:28:00 +00:00
|
|
|
librep
|
2021-03-03 18:47:49 +00:00
|
|
|
];
|
2023-06-09 23:28:00 +00:00
|
|
|
|
2021-03-03 18:47:49 +00:00
|
|
|
buildInputs = [
|
2023-06-09 23:28:00 +00:00
|
|
|
gtk2-x11
|
2021-03-03 18:47:49 +00:00
|
|
|
librep
|
|
|
|
];
|
2015-02-06 16:32:55 +00:00
|
|
|
|
2023-06-09 23:28:00 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2015-02-06 16:32:55 +00:00
|
|
|
patchPhase = ''
|
|
|
|
sed -e 's|installdir=$(repexecdir)|installdir=$(libdir)/rep|g' -i Makefile.in
|
|
|
|
'';
|
|
|
|
|
2023-06-09 23:28:00 +00:00
|
|
|
meta = {
|
2021-03-03 18:47:49 +00:00
|
|
|
homepage = "http://sawfish.tuxfamily.org";
|
2019-09-03 22:49:40 +00:00
|
|
|
description = "GTK bindings for librep";
|
2023-06-09 23:28:00 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
maintainers = [ lib.maintainers.AndersonTorres ];
|
|
|
|
platforms = lib.platforms.unix;
|
2015-02-06 16:32:55 +00:00
|
|
|
};
|
2023-06-09 23:28:00 +00:00
|
|
|
})
|
2016-10-23 11:06:47 +00:00
|
|
|
# TODO: investigate fetchFromGithub
|