1 { lib, stdenv, fetchurl, gtk2, libexif, pkg-config, texinfo }:
3 stdenv.mkDerivation rec {
7 url = "mirror://sourceforge/xzgv/xzgv-${version}.tar.gz";
8 sha256 = "17l1xr9v07ggwga3vn0z1i4lnwjrr20rr8z1kjbw71aaijxl18i5";
10 nativeBuildInputs = [ pkg-config texinfo ];
11 buildInputs = [ gtk2 libexif ];
13 substituteInPlace config.mk \
14 --replace /usr/local $out
15 substituteInPlace Makefile \
16 --replace "all: src man" "all: src man info"
19 mkdir -p $out/share/{app-install/desktop,applications,info,pixmaps}
22 homepage = "https://sourceforge.net/projects/xzgv/";
23 description = "Picture viewer for X with a thumbnail-based selector";
24 license = licenses.gpl2;
25 maintainers = [ maintainers.womfoo ];
26 platforms = platforms.linux;