jasper: 1.900.28 -> 2.0.6

This commit is contained in:
Graham Christensen 2016-12-14 07:38:51 -05:00
parent f92544fe12
commit eb7ea181f1
No known key found for this signature in database
GPG Key ID: ACA1C1D120C83D5C

View File

@ -1,18 +1,18 @@
{ stdenv, fetchurl, fetchpatch, libjpeg, autoreconfHook }:
{ stdenv, fetchurl, fetchpatch, libjpeg, cmake }:
stdenv.mkDerivation rec {
name = "jasper-1.900.28";
name = "jasper-2.0.6";
src = fetchurl {
# You can find this code on Github at https://github.com/mdadams/jasper
# however note at https://www.ece.uvic.ca/~frodo/jasper/#download
# not all tagged releases are for distribution.
url = "http://www.ece.uvic.ca/~mdadams/jasper/software/${name}.tar.gz";
sha256 = "0nsiblsfpfa0dahsk6hw9cd18fp9c8sk1z5hdp19m33c0bf92ip9";
sha256 = "0g6fl8rrbspa9vpswixmpxrg71l19kqgc2b5cak7vmwxphj01wbk";
};
# newer reconf to recognize a multiout flag
nativeBuildInputs = [ autoreconfHook ];
nativeBuildInputs = [ cmake ];
propagatedBuildInputs = [ libjpeg ];
configureFlags = "--enable-shared";
@ -21,6 +21,10 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
postInstall = ''
moveToOutput bin "$bin"
'';
meta = {
homepage = https://www.ece.uvic.ca/~frodo/jasper/;
description = "JPEG2000 Library";