1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-22 16:26:48 -04:00
nixpkgs/pkgs/applications/graphics/sxiv/default.nix
Mateusz Kowalczyk 55ec78eac4 sxiv: update revision
Mainly to kick off Hydra again: it thinks the build is broken because we
used a SSH URL for git before.
2014-11-15 01:54:00 +00:00

26 lines
727 B
Nix

{ stdenv, fetchgit, libX11, imlib2, giflib, libexif }:
stdenv.mkDerivation {
name = "sxiv-1.3-git";
src = fetchgit {
url = "https://github.com/muennich/sxiv.git";
rev = "54af451b4a81b5b1072f27de0981a2d39cabc2d6";
sha256 = "1b0fb6bd8d36af4c7f1160fcc12b5b7382546c7da35b4924d259f7efaa4c97d0";
};
postUnpack = ''
substituteInPlace $sourceRoot/Makefile \
--replace /usr/local $out
'';
buildInputs = [ libX11 imlib2 giflib libexif ];
meta = {
description = "Simple X Image Viewer";
homepage = "https://github.com/muennich/sxiv";
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
};
}