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

28 lines
770 B
Nix
Raw Normal View History

2016-01-03 20:36:47 +00:00
{ stdenv, fetchFromGitHub, libX11, imlib2, giflib, libexif }:
2013-05-24 09:21:34 +01:00
2016-01-03 20:36:47 +00:00
stdenv.mkDerivation rec {
name = "sxiv-${version}";
version = "v1.3.2";
#https://github.com/muennich/sxiv/archive/v1.3.2.zip
src = fetchFromGitHub {
owner = "muennich";
repo = "sxiv";
rev = version;
sha256 = "1f4gz1qjhb44bbb3q5fqk439zyipkwnr19zhg89yq2pgmzzzqr2h";
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
};
}