3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/graphics/sxiv/default.nix

23 lines
584 B
Nix
Raw Normal View History

2013-05-24 09:21:34 +01:00
{ stdenv, fetchurl, libX11, imlib2, giflib }:
stdenv.mkDerivation {
2013-12-07 12:39:52 +00:00
name = "sxiv-1.1.1";
2013-05-24 09:21:34 +01:00
src = fetchurl {
2013-12-07 12:39:52 +00:00
url = "https://github.com/muennich/sxiv/archive/v1.1.1.tar.gz";
2013-05-24 09:21:34 +01:00
name = "sxiv-1.1.tar.gz";
2013-12-07 12:39:52 +00:00
sha256 = "07r8125xa8d5q71ql71s4i1dx4swy8hypxh2s5h7z2jnn5y9nmih";
2013-05-24 09:21:34 +01:00
};
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 = stdenv.lib.licenses.gpl2Plus;
2013-05-24 09:21:34 +01:00
platforms = stdenv.lib.platforms.linux;
};
}