expat: 2.2.8 -> 2.2.10

This commit is contained in:
Tim Steinbach 2020-10-17 17:21:41 -04:00
parent 347696a30b
commit d137333e67
No known key found for this signature in database
GPG Key ID: FD36A5EAAC49035A

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