diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/expat')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/expat/default.nix | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/nixpkgs/pkgs/development/libraries/expat/default.nix b/nixpkgs/pkgs/development/libraries/expat/default.nix index ba9fb2b177de..fe30b701ed0c 100644 --- a/nixpkgs/pkgs/development/libraries/expat/default.nix +++ b/nixpkgs/pkgs/development/libraries/expat/default.nix @@ -5,14 +5,13 @@ # cgit) that are needed here should be included directly in Nixpkgs as # files. -let - version = "2.2.10"; -in stdenv.mkDerivation rec { - name = "expat-${version}"; +stdenv.mkDerivation rec { + pname = "expat"; + version = "2.4.1"; src = fetchurl { - url = "https://github.com/libexpat/libexpat/releases/download/R_${lib.replaceStrings ["."] ["_"] version}/${name}.tar.xz"; - sha256 = "sha256-Xf5Tj4tbY/A+mO2sUg19mmpNIuSC5cltTQb8xUhcJfI="; + url = "https://github.com/libexpat/libexpat/releases/download/R_${lib.replaceStrings ["."] ["_"] version}/${pname}-${version}.tar.xz"; + sha256 = "sha256-zwMtDbqbkoY2VI4ysyei1msaq2PE9KE90TLC0dLy+2o="; }; outputs = [ "out" "dev" ]; # TODO: fix referrers @@ -25,12 +24,11 @@ in stdenv.mkDerivation rec { doCheck = true; # not cross; preCheck = '' - patchShebangs ./run.sh - patchShebangs ./test-driver-wrapper.sh + patchShebangs ./configure ./run.sh ./test-driver-wrapper.sh ''; meta = with lib; { - homepage = "http://www.libexpat.org/"; + homepage = "https://libexpat.github.io/"; description = "A stream-oriented XML parser library written in C"; platforms = platforms.all; license = licenses.mit; # expat version |