Skip to content

Commit 420e291

Browse files
committedJun 14, 2017
jasper: 2.0.12 -> 2.0.13, fixes CVE-2017-6850
(cherry picked from commit fcf2050)
1 parent 11db002 commit 420e291

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed
 

‎pkgs/development/libraries/jasper/default.nix

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
{ stdenv, fetchurl, fetchpatch, libjpeg, cmake }:
1+
{ stdenv, fetchFromGitHub, fetchpatch, libjpeg, cmake }:
22

33
stdenv.mkDerivation rec {
4-
name = "jasper-2.0.12";
5-
6-
src = fetchurl {
7-
# You can find this code on Github at https://github.com/mdadams/jasper
8-
# however note at https://www.ece.uvic.ca/~frodo/jasper/#download
9-
# not all tagged releases are for distribution.
10-
url = "http://www.ece.uvic.ca/~mdadams/jasper/software/${name}.tar.gz";
11-
sha256 = "1njdbxv7d4anzrd476wjww2qsi96dd8vfnp4hri0srrqxpszl92v";
4+
name = "jasper-${version}";
5+
version = "2.0.13";
6+
7+
src = fetchFromGitHub {
8+
repo = "jasper";
9+
owner = "mdadams";
10+
rev = "version-${version}";
11+
sha256 = "1kd2xiszg9bxfavs3fadi4gi27m876d9zjjy0ns6mmbcjk109c0a";
1212
};
1313

1414
# newer reconf to recognize a multiout flag
@@ -29,5 +29,6 @@ stdenv.mkDerivation rec {
2929
homepage = https://www.ece.uvic.ca/~frodo/jasper/;
3030
description = "JPEG2000 Library";
3131
platforms = platforms.unix;
32+
maintainers = with maintainers; [ pSub ];
3233
};
3334
}

0 commit comments

Comments
 (0)
Please sign in to comment.