2021-03-09 03:18:52 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, autoreconfHook
|
2023-07-15 17:15:38 +00:00
|
|
|
, gtk2-x11
|
2021-03-09 03:18:52 +00:00
|
|
|
, librep
|
|
|
|
, pkg-config
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "rep-gtk";
|
|
|
|
version = "0.90.8.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2023-07-15 17:15:38 +00:00
|
|
|
url = "https://download.tuxfamily.org/librep/rep-gtk/rep-gtk_${finalAttrs.version}.tar.xz";
|
|
|
|
hash = "sha256-qWV120V5Tu/QVkFylno47y1/7DriZExHjp99VLmf80E=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
2023-07-15 17:15:38 +00:00
|
|
|
librep
|
2021-03-09 03:18:52 +00:00
|
|
|
];
|
2023-07-15 17:15:38 +00:00
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
buildInputs = [
|
2023-07-15 17:15:38 +00:00
|
|
|
gtk2-x11
|
2021-03-09 03:18:52 +00:00
|
|
|
librep
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
patchPhase = ''
|
|
|
|
sed -e 's|installdir=$(repexecdir)|installdir=$(libdir)/rep|g' -i Makefile.in
|
|
|
|
'';
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
meta = {
|
2021-03-09 03:18:52 +00:00
|
|
|
homepage = "http://sawfish.tuxfamily.org";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "GTK bindings for librep";
|
2023-07-15 17:15:38 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
maintainers = [ lib.maintainers.AndersonTorres ];
|
|
|
|
platforms = lib.platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2023-07-15 17:15:38 +00:00
|
|
|
})
|
2020-04-24 23:36:52 +00:00
|
|
|
# TODO: investigate fetchFromGithub
|