diff options
author | Song Wenwu <iyzsong@gmail.com> | 2013-05-24 16:21:34 +0800 |
---|---|---|
committer | Song Wenwu <iyzsong@gmail.com> | 2013-05-24 16:21:34 +0800 |
commit | 325f7a6bb836c1e0a36d5e871e3c3992181cc090 (patch) | |
tree | b5a0e7078b29bca4aa4e7643f4f66d6a7c457b6d /pkgs/applications/graphics/sxiv | |
parent | da70c21cf72e320e643e16751883ae00334ef16c (diff) |
add sxiv-1.1
Diffstat (limited to 'pkgs/applications/graphics/sxiv')
-rw-r--r-- | pkgs/applications/graphics/sxiv/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/sxiv/default.nix b/pkgs/applications/graphics/sxiv/default.nix new file mode 100644 index 0000000000000..26d910943efaf --- /dev/null +++ b/pkgs/applications/graphics/sxiv/default.nix @@ -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; + }; +} |