Skip to content
Permalink
Browse files
expat: 2.2.8 -> 2.2.10
  • Loading branch information
NeQuissimus committed Oct 17, 2020
1 parent 347696a commit d137333e679da19debce603eacebd4c8aef9a80c
Showing with 7 additions and 5 deletions.
  1. +7 −5 pkgs/development/libraries/expat/default.nix
@@ -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

0 comments on commit d137333

Please sign in to comment.