Skip to content

Commit 78c196c

Browse files
authored
rxp: 1.5.0 -> 1.5.2, fix build with gcc14 (NixOS#394654)
2 parents 5544be7 + 4e80ecf commit 78c196c

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

pkgs/by-name/rx/rxp/package.nix

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,20 @@
44
fetchurl,
55
}:
66

7-
stdenv.mkDerivation rec {
7+
stdenv.mkDerivation (finalAttrs: {
88
pname = "rxp";
9-
version = "1.5.0";
9+
version = "1.5.2";
1010

1111
src = fetchurl {
12-
url = "mirror://debian/pool/main/r/rxp/rxp_${version}.orig.tar.gz";
13-
sha256 = "0y365r36wzj4xn1dzhb03spxljnrx8vwqbiwnnwz4630129gzpm6";
12+
url = "https://www.inf.ed.ac.uk/research/isddarch/admin/rxp-${finalAttrs.version}.tar.gz";
13+
hash = "sha256-+mQbSlGF0KHZYQyCRbnVr/WXLBoooNqU8+ONafbBRRM=";
1414
};
1515

16-
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=implicit-function-declaration -Wno-error=int-conversion";
17-
1816
meta = {
1917
license = lib.licenses.gpl2Plus;
2018
description = "Validating XML parser written in C";
2119
homepage = "https://www.cogsci.ed.ac.uk/~richard/rxp.html";
2220
platforms = lib.platforms.unix;
2321
mainProgram = "rxp";
2422
};
25-
}
23+
})

0 commit comments

Comments
 (0)