mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
57bccb3cb8
* treewide: http -> https sources This updates the source urls of all top-level packages from http to https where possible. * buildtorrent: fix url and tab -> spaces
27 lines
688 B
Nix
27 lines
688 B
Nix
{ stdenv, fetchurl, pkgconfig, gtk2, imlib2, file, lcms2, libexif } :
|
|
|
|
stdenv.mkDerivation (rec {
|
|
version = "2.3.1";
|
|
name = "qiv-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://spiegl.de/qiv/download/${name}.tgz";
|
|
sha256 = "1rlf5h67vhj7n1y7jqkm9k115nfnzpwngj3kzqsi2lg676srclv7";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ gtk2 imlib2 file lcms2 libexif ];
|
|
|
|
preBuild=''
|
|
substituteInPlace Makefile --replace /usr/local "$out"
|
|
substituteInPlace Makefile --replace /man/ /share/man/
|
|
'';
|
|
|
|
meta = {
|
|
description = "Quick image viewer";
|
|
homepage = http://spiegl.de/qiv/;
|
|
inherit version;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
})
|