Merge #100883: expat: 2.2.8 -> 2.2.10 (into staging)

This commit is contained in:
Vladimír Čunát 2020-10-18 13:37:51 +02:00
commit 2c9be93bf2
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -1,16 +1,18 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, lib }:
# Note: this package is used for bootstrapping fetchurl, and thus
# cannot use fetchpatch! All mutable patches (generated by GitHub or
# cgit) that are needed here should be included directly in Nixpkgs as
# files.
stdenv.mkDerivation rec {
name = "expat-2.2.8";
let
version = "2.2.10";
in stdenv.mkDerivation rec {
name = "expat-${version}";
src = fetchurl {
url = "https://github.com/libexpat/libexpat/releases/download/R_2_2_8/${name}.tar.xz";
sha256 = "16vpj5mk3lps3x7fr8cs03rffx3ir4jilyqw0frayn6q94daijk1";
url = "https://github.com/libexpat/libexpat/releases/download/R_${lib.replaceStrings ["."] ["_"] version}/${name}.tar.xz";
sha256 = "sha256-Xf5Tj4tbY/A+mO2sUg19mmpNIuSC5cltTQb8xUhcJfI=";
};
outputs = [ "out" "dev" ]; # TODO: fix referrers