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

27 lines
753 B
Nix
Raw Normal View History

{ stdenv, fetchgit, libX11, imlib2, giflib, libexif }:
2013-05-24 09:21:34 +01:00
2014-10-11 17:06:46 +01:00
stdenv.mkDerivation rec {
version = "1.3-git";
name = "sxiv-${version}";
2013-05-24 09:21:34 +01:00
src = fetchgit {
url = "git@github.com:muennich/sxiv.git";
rev = "f55d9f4283f7133ab5a137fc04ee19d1df62fafb";
sha256 = "85f734f40fdc837514b72694de12bac92fe130286fa6f1dc374e94d575ca8280";
2013-05-24 09:21:34 +01:00
};
postUnpack = ''
substituteInPlace $sourceRoot/Makefile \
--replace /usr/local $out
'';
2013-05-24 09:21:34 +01:00
buildInputs = [ libX11 imlib2 giflib libexif ];
2013-05-24 09:21:34 +01:00
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;
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
2013-05-24 09:21:34 +01:00
};
}