depot/third_party/nixpkgs/pkgs/development/libraries/rep-gtk/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

30 lines
810 B
Nix

{ lib, stdenv, fetchurl, pkg-config, autoreconfHook, librep, gtk2 }:
with lib;
stdenv.mkDerivation rec {
pname = "rep-gtk";
version = "0.90.8.3";
sourceName = "rep-gtk_${version}";
src = fetchurl {
url = "https://download.tuxfamily.org/librep/rep-gtk/${sourceName}.tar.xz";
sha256 = "0hgkkywm8zczir3lqr727bn7ybgg71x9cwj1av8fykkr8pdpard9";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ ];
propagatedBuildInputs = [ librep gtk2 ];
patchPhase = ''
sed -e 's|installdir=$(repexecdir)|installdir=$(libdir)/rep|g' -i Makefile.in
'';
meta = {
description = "GTK bindings for librep";
homepage = "http://sawfish.wikia.com";
license = licenses.gpl2;
maintainers = [ maintainers.AndersonTorres ];
};
}
# TODO: investigate fetchFromGithub