Unverified Commit 78c196c6 authored by jopejoe1's avatar jopejoe1 Committed by GitHub
Browse files

rxp: 1.5.0 -> 1.5.2, fix build with gcc14 (#394654)

parents 5544be74 4e80ecff
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -4,17 +4,15 @@
  fetchurl,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "rxp";
  version = "1.5.0";
  version = "1.5.2";

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

  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=implicit-function-declaration -Wno-error=int-conversion";

  meta = {
    license = lib.licenses.gpl2Plus;
    description = "Validating XML parser written in C";
@@ -22,4 +20,4 @@ stdenv.mkDerivation rec {
    platforms = lib.platforms.unix;
    mainProgram = "rxp";
  };
}
})