diff options
author | Graham Christensen <graham@grahamc.com> | 2016-12-14 07:38:51 -0500 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2016-12-15 17:17:57 -0500 |
commit | eb7ea181f1368063c33b65db51605f43b1e42654 (patch) | |
tree | cb8c945555feb015e5c3221338b6fa4a54a326a8 | |
parent | f92544fe12dc0cc9d5141132b2ed0298bb8c0f9c (diff) | |
download | nixpkgs-eb7ea181f1368063c33b65db51605f43b1e42654.tar nixpkgs-eb7ea181f1368063c33b65db51605f43b1e42654.tar.gz nixpkgs-eb7ea181f1368063c33b65db51605f43b1e42654.tar.bz2 nixpkgs-eb7ea181f1368063c33b65db51605f43b1e42654.tar.lz nixpkgs-eb7ea181f1368063c33b65db51605f43b1e42654.tar.xz nixpkgs-eb7ea181f1368063c33b65db51605f43b1e42654.tar.zst nixpkgs-eb7ea181f1368063c33b65db51605f43b1e42654.zip |
jasper: 1.900.28 -> 2.0.6
-rw-r--r-- | pkgs/development/libraries/jasper/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/development/libraries/jasper/default.nix b/pkgs/development/libraries/jasper/default.nix index 9568d9bbb3b..cf5c264fc8d 100644 --- a/pkgs/development/libraries/jasper/default.nix +++ b/pkgs/development/libraries/jasper/default.nix @@ -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"; |