add sxiv-1.1

This commit is contained in:
Song Wenwu 2013-05-24 16:21:34 +08:00
parent da70c21cf7
commit 325f7a6bb8
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{ stdenv, fetchurl, libX11, imlib2, giflib }:
stdenv.mkDerivation {
name = "sxiv-1.1";
src = fetchurl {
url = "https://github.com/muennich/sxiv/archive/v1.1.tar.gz";
name = "sxiv-1.1.tar.gz";
sha256 = "0gsqwa1yacsig7ycjrw0sjyrsa9mynfzzbwm1vp2bgk4s9hb08kx";
};
buildInputs = [ libX11 imlib2 giflib ];
prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';
meta = {
description = "Simple X Image Viewer";
homepage = "https://github.com/muennich/sxiv";
license = "GPLv2+";
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -7911,6 +7911,8 @@ let
st = callPackage ../applications/misc/st { };
sxiv = callPackage ../applications/graphics/sxiv { };
bittorrentSync = callPackage ../applications/networking/bittorrentsync { };
dropbox = callPackage ../applications/networking/dropbox { };