nixpkgs/pkgs/development/libraries/rep-gtk/default.nix

41 lines
814 B
Nix
Raw Normal View History

2021-03-03 18:47:49 +00:00
{ lib
, stdenv
, fetchurl
, autoreconfHook
, gtk2
, librep
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "rep-gtk";
2016-10-23 12:06:47 +01:00
version = "0.90.8.3";
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";
};
2021-03-03 18:47:49 +00:00
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
gtk2
librep
];
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";
description = "GTK bindings for librep";
2021-03-03 18:47:49 +00:00
license = licenses.gpl2Plus;
maintainers = [ maintainers.AndersonTorres ];
2021-03-03 18:47:49 +00:00
platforms = platforms.unix;
};
}
2016-10-23 12:06:47 +01:00
# TODO: investigate fetchFromGithub