tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
Merge #100883: expat: 2.2.8 -> 2.2.10 (into staging)
Vladimír Čunát
5 years ago
2c9be93b
3eac52d6
+7
-5
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
expat
default.nix
+7
-5
pkgs/development/libraries/expat/default.nix
reviewed
···
1
1
-
{ stdenv, fetchurl }:
1
1
+
{ stdenv, fetchurl, lib }:
2
2
3
3
# Note: this package is used for bootstrapping fetchurl, and thus
4
4
# cannot use fetchpatch! All mutable patches (generated by GitHub or
5
5
# cgit) that are needed here should be included directly in Nixpkgs as
6
6
# files.
7
7
8
8
-
stdenv.mkDerivation rec {
9
9
-
name = "expat-2.2.8";
8
8
+
let
9
9
+
version = "2.2.10";
10
10
+
in stdenv.mkDerivation rec {
11
11
+
name = "expat-${version}";
10
12
11
13
src = fetchurl {
12
12
-
url = "https://github.com/libexpat/libexpat/releases/download/R_2_2_8/${name}.tar.xz";
13
13
-
sha256 = "16vpj5mk3lps3x7fr8cs03rffx3ir4jilyqw0frayn6q94daijk1";
14
14
+
url = "https://github.com/libexpat/libexpat/releases/download/R_${lib.replaceStrings ["."] ["_"] version}/${name}.tar.xz";
15
15
+
sha256 = "sha256-Xf5Tj4tbY/A+mO2sUg19mmpNIuSC5cltTQb8xUhcJfI=";
14
16
};
15
17
16
18
outputs = [ "out" "dev" ]; # TODO: fix referrers