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

26 lines
727 B
Nix
Raw Normal View History

{ stdenv, fetchgit, libX11, imlib2, giflib, libexif }:
2013-05-24 10:21:34 +02:00
stdenv.mkDerivation {
name = "sxiv-1.3-git";
2013-05-24 10:21:34 +02:00
src = fetchgit {
2014-11-05 12:33:45 +01:00
url = "https://github.com/muennich/sxiv.git";
2014-12-03 17:55:17 +01:00
rev = "6216bf6c2d42be63025d29550831d9f4447f4066";
sha256 = "e25e19cf073cc2621656e50d2c31cc59cc0fc200716f96c765374568a26977f1";
2013-05-24 10:21:34 +02:00
};
postUnpack = ''
substituteInPlace $sourceRoot/Makefile \
--replace /usr/local $out
'';
2013-05-24 10:21:34 +02:00
buildInputs = [ libX11 imlib2 giflib libexif ];
2013-05-24 10:21:34 +02:00
meta = {
description = "Simple X Image Viewer";
homepage = "https://github.com/muennich/sxiv";
license = stdenv.lib.licenses.gpl2Plus;
2013-05-24 10:21:34 +02:00
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
2013-05-24 10:21:34 +02:00
};
}