json_c: 0.14 -> 0.15
https://github.com/json-c/json-c/blob/json-c-0.15-20200726/ChangeLog
This commit is contained in:
parent
971aef5e08
commit
b5ca1a1731
@ -1,20 +1,13 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, cmake }:
|
{ stdenv, fetchurl, cmake }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "json-c-0.14";
|
pname = "json-c";
|
||||||
src = fetchurl {
|
version = "0.15";
|
||||||
url = "https://s3.amazonaws.com/json-c_releases/releases/${name}-nodoc.tar.gz";
|
|
||||||
sha256 = "1yia8417qljmczs9w3rn4c4i2p2iywq098pgrj11s81599j4x4cr";
|
|
||||||
};
|
|
||||||
|
|
||||||
patches = [
|
src = fetchurl {
|
||||||
# https://nvd.nist.gov/vuln/detail/CVE-2020-12762
|
url = "https://s3.amazonaws.com/json-c_releases/releases/${pname}-${version}.tar.gz";
|
||||||
(fetchpatch {
|
sha256 = "1im484iz08j3gmzpw07v16brwq46pxxj65i996kkp2vivcfhmn5q";
|
||||||
name = "CVE-2020-12762.patch";
|
};
|
||||||
url = "https://github.com/json-c/json-c/commit/5d6fa331418d49f1bd488553fd1cfa9ab023fabb.patch";
|
|
||||||
sha256 = "0aar7kgbycqxnhh0lrr61adfbb903nbapalhs5i6h8anxwy1ylcm";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user