1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 15:41:40 +00:00
nixpkgs/pkgs/applications/graphics/qiv/default.nix

25 lines
620 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, gtk, imlib2, file, lcms2, libexif } :
2013-01-11 19:24:20 +00:00
stdenv.mkDerivation (rec {
version = "2.3.1";
name = "qiv-${version}";
2013-01-11 19:24:20 +00:00
src = fetchurl {
url = "http://spiegl.de/qiv/download/${name}.tgz";
sha256 = "1rlf5h67vhj7n1y7jqkm9k115nfnzpwngj3kzqsi2lg676srclv7";
2013-01-11 19:24:20 +00:00
};
buildInputs = [ pkgconfig gtk imlib2 file lcms2 libexif ];
2013-01-11 19:24:20 +00:00
preBuild=''
substituteInPlace Makefile --replace /usr/local "$out"
substituteInPlace Makefile --replace /man/ /share/man/
'';
2013-01-11 19:24:20 +00:00
meta = {
description = "qiv (quick image viewer)";
homepage = http://spiegl.de/qiv/;
inherit version;
2013-01-11 19:24:20 +00:00
};
})