2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, intltool, pkg-config, gtk2, fetchpatch }:
|
2013-10-26 23:25:42 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "gpicview-0.2.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/lxde/gpicview-0.2.4.tar.gz";
|
|
|
|
sha256 = "1svcy1c8bgk0pl12yhyv16h2fl52x5vzzcv57z6qdcv5czgvgglr";
|
|
|
|
};
|
|
|
|
|
2016-08-12 04:15:05 +01:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://raw.githubusercontent.com/nonas/debian-clang/master/buildlogs/gpicview/gpicview-0.2.4/debian/patches/clang_FTBFS_Wreturn-type.patch";
|
|
|
|
sha256 = "02dm966bplnv10knpdx7rlpjipk884156ggd9ij05zhza0jl8xcs";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2013-10-26 23:25:42 +01:00
|
|
|
description = "A simple and fast image viewer for X";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://lxde.sourceforge.net/gpicview/";
|
|
|
|
repositories.git = "git://lxde.git.sourceforge.net/gitroot/lxde/gpicview";
|
2013-10-26 23:25:42 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ lovek323 ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ intltool gtk2 ];
|
2013-10-26 23:25:42 +01:00
|
|
|
}
|