nixpkgs/pkgs/applications/graphics/sxiv/default.nix

26 lines
715 B
Nix
Raw Normal View History

{ stdenv, fetchgit, libX11, imlib2, giflib, libexif }:
2013-05-24 04:21:34 -04:00
stdenv.mkDerivation {
name = "sxiv-1.3-git";
2013-05-24 04:21:34 -04:00
src = fetchgit {
2014-11-05 06:33:45 -05:00
url = "https://github.com/muennich/sxiv.git";
2015-01-23 14:18:58 -05:00
rev = "92e3b57816e999b46f8d0778984719227631e9a7";
sha256 = "0jbswh0k1xq5hgrv1pyvk7lpwbbj66p7gjsdm8zh6ah324apjr2b";
2013-05-24 04:21:34 -04:00
};
postUnpack = ''
substituteInPlace $sourceRoot/Makefile \
--replace /usr/local $out
'';
2013-05-24 04:21:34 -04:00
buildInputs = [ libX11 imlib2 giflib libexif ];
2013-05-24 04:21:34 -04:00
meta = {
description = "Simple X Image Viewer";
homepage = "https://github.com/muennich/sxiv";
license = stdenv.lib.licenses.gpl2Plus;
2013-05-24 04:21:34 -04:00
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
2013-05-24 04:21:34 -04:00
};
}