libyaml: 0.2.1 -> 0.2.2
This commit is contained in:
parent
81f15ead6c
commit
3f19225e6f
@ -1,31 +1,14 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch }:
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "libyaml";
|
||||||
version = "0.2.1";
|
version = "0.2.2";
|
||||||
|
|
||||||
# https://github.com/yaml/pyyaml/issues/214
|
|
||||||
p1 = fetchpatch {
|
|
||||||
url = https://github.com/yaml/libyaml/commit/8ee83c0da22fe9aa7dea667be8f899a7e32ffb83.patch;
|
|
||||||
sha256 = "00jh39zww6s4gyhxfmlxwb6lz90nl3p51k5h1qm6z3ymik5vljmz";
|
|
||||||
};
|
|
||||||
p2 = fetchpatch {
|
|
||||||
url = https://github.com/yaml/libyaml/commit/56f4b17221868593d6903ee58d6d679b690cf4df.patch;
|
|
||||||
sha256 = "0najcay1y4kgfpsidj7dnyafnwjbav5jyawhyv215zl9gg3386n0";
|
|
||||||
};
|
|
||||||
|
|
||||||
in
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "libyaml-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://pyyaml.org/download/libyaml/yaml-${version}.tar.gz";
|
url = "https://pyyaml.org/download/libyaml/yaml-${version}.tar.gz";
|
||||||
sha256 = "1karpcfgacgppa82wm2drcfn2kb6q2wqfykf5nrhy20sci2i2a3q";
|
sha256 = "1karpcfgacgppa82wm2drcfn2kb6q2wqfykf5nrhy20sci2i2a3q";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ p1 p2 ]; # remove when the next release comes out
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://pyyaml.org/;
|
homepage = https://pyyaml.org/;
|
||||||
description = "A YAML 1.1 parser and emitter written in C";
|
description = "A YAML 1.1 parser and emitter written in C";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user