mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
f0e64ce16f
Manual migration for the sake of by-name migration is no longer discouraged since #340235.
45 lines
874 B
Nix
45 lines
874 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, autoreconfHook
|
|
, gtk2-x11
|
|
, librep
|
|
, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "rep-gtk";
|
|
version = "0.90.8.3";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.tuxfamily.org/librep/rep-gtk/rep-gtk_${finalAttrs.version}.tar.xz";
|
|
hash = "sha256-qWV120V5Tu/QVkFylno47y1/7DriZExHjp99VLmf80E=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
librep
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk2-x11
|
|
librep
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
patchPhase = ''
|
|
sed -e 's|installdir=$(repexecdir)|installdir=$(libdir)/rep|g' -i Makefile.in
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "http://sawfish.tuxfamily.org";
|
|
description = "GTK bindings for librep";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = [ lib.maintainers.AndersonTorres ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|
|
# TODO: investigate fetchFromGithub
|