lol
1{ lib, stdenv, fetchurl, intltool, pkg-config, gtk2, fetchpatch }:
2
3stdenv.mkDerivation rec {
4 pname = "gpicview";
5 version = "0.2.4";
6
7 src = fetchurl {
8 url = "mirror://sourceforge/lxde/gpicview-${version}.tar.gz";
9 sha256 = "1svcy1c8bgk0pl12yhyv16h2fl52x5vzzcv57z6qdcv5czgvgglr";
10 };
11
12 patches = [
13 (fetchpatch {
14 url = "https://raw.githubusercontent.com/nonas/debian-clang/master/buildlogs/gpicview/gpicview-0.2.4/debian/patches/clang_FTBFS_Wreturn-type.patch";
15 sha256 = "02dm966bplnv10knpdx7rlpjipk884156ggd9ij05zhza0jl8xcs";
16 })
17 ];
18
19 nativeBuildInputs = [ pkg-config ];
20
21 buildInputs = [ intltool gtk2 ];
22
23 meta = with lib; {
24 description = "A simple and fast image viewer for X";
25 homepage = "http://lxde.sourceforge.net/gpicview/";
26 repositories.git = "git://lxde.git.sourceforge.net/gitroot/lxde/gpicview";
27 license = licenses.gpl2;
28 maintainers = with maintainers; [ lovek323 ];
29 platforms = platforms.unix;
30 };
31}