Adding an auto-updater script for qiv and updating it to 2.3.1
This commit is contained in:
parent
258040a939
commit
566ef0e31a
@ -1,14 +1,15 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gtk, imlib2, file } :
|
{ stdenv, fetchurl, pkgconfig, gtk, imlib2, file, lcms2, libexif } :
|
||||||
|
|
||||||
stdenv.mkDerivation (rec {
|
stdenv.mkDerivation (rec {
|
||||||
name = "qiv-2.2.4";
|
version = "2.3.1";
|
||||||
|
name = "qiv-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://spiegl.de/qiv/download/${name}.tgz";
|
url = "http://spiegl.de/qiv/download/${name}.tgz";
|
||||||
sha256 = "ed6078dc550c1dc2fe35c1e0f46463c13589a24b83d4f7101b71a7485e51abb7";
|
sha256 = "1rlf5h67vhj7n1y7jqkm9k115nfnzpwngj3kzqsi2lg676srclv7";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig gtk imlib2 file ];
|
buildInputs = [ pkgconfig gtk imlib2 file lcms2 libexif ];
|
||||||
|
|
||||||
preBuild=''
|
preBuild=''
|
||||||
substituteInPlace Makefile --replace /usr/local "$out"
|
substituteInPlace Makefile --replace /usr/local "$out"
|
||||||
@ -18,5 +19,6 @@ stdenv.mkDerivation (rec {
|
|||||||
meta = {
|
meta = {
|
||||||
description = "qiv (quick image viewer)";
|
description = "qiv (quick image viewer)";
|
||||||
homepage = http://spiegl.de/qiv/;
|
homepage = http://spiegl.de/qiv/;
|
||||||
|
inherit version;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
3
pkgs/applications/graphics/qiv/default.upstream
Normal file
3
pkgs/applications/graphics/qiv/default.upstream
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
url http://spiegl.de/qiv/download/
|
||||||
|
version_link '[.]tgz$'
|
||||||
|
do_overwrite() { do_overwrite_just_version; }
|
Loading…
x
Reference in New Issue
Block a user