libyaml: 0.1.6 -> 0.1.7

This commit is contained in:
Lancelot SIX 2016-09-09 16:08:13 +02:00
parent b082f75f4d
commit 85036f1428
No known key found for this signature in database
GPG Key ID: 02E1542BA66FB047

View File

@ -1,21 +1,15 @@
{ stdenv, fetchurl, fetchpatch }:
let
version = "0.1.6";
version = "0.1.7";
in
stdenv.mkDerivation {
name = "libyaml-${version}";
src = fetchurl {
url = "http://pyyaml.org/download/libyaml/yaml-${version}.tar.gz";
sha256 = "0j9731s5zjb8mjx7wzf6vh7bsqi38ay564x6s9nri2nh9cdrg9kx";
sha256 = "0a87931cx5m14a1x8rbjix3nz7agrcgndf4h392vm62a4rby9240";
};
patches = [(fetchpatch {
name = "CVE-2014-9130.diff";
url = "http://bitbucket.org/xi/libyaml/commits/2b915675/raw/";
sha256 = "1vrkga2wk060wccg61c2mj5prcyv181qikgdfi1z4hz8ygmpvl04";
})];
meta = with stdenv.lib; {
homepage = http://pyyaml.org/;
description = "A YAML 1.1 parser and emitter written in C";