From de8df3ce47e478388f4b780a94ac2a757258572e Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Fri, 14 Nov 2014 19:13:47 +0100 Subject: [PATCH] rxp: update from 1.2.3 to 1.5.0 --- pkgs/tools/text/xml/rxp/default.nix | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/pkgs/tools/text/xml/rxp/default.nix b/pkgs/tools/text/xml/rxp/default.nix index 6ec9758ed3a2..a50e91b78668 100644 --- a/pkgs/tools/text/xml/rxp/default.nix +++ b/pkgs/tools/text/xml/rxp/default.nix @@ -1,20 +1,17 @@ {stdenv, fetchurl} : -stdenv.mkDerivation { - name = "rxp-1.2.3"; - src = fetchurl { - url = http://ftp.de.debian.org/debian/pool/main/r/rxp/rxp_1.2.3.orig.tar.gz; - sha256 = "1r4khvmnl5231y37ji8f3mikxy0dhdz155wi3qihfi27mc1yv534"; - }; - NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE"; +stdenv.mkDerivation rec { + name = "rxp-${version}"; + version = "1.5.0"; + + src = fetchurl { + url = "mirror://debian/pool/main/r/rxp/rxp_${version}.orig.tar.gz"; + sha256 = "0y365r36wzj4xn1dzhb03spxljnrx8vwqbiwnnwz4630129gzpm6"; + }; - installPhase = '' - mkdir -p $out/bin - cp rxp $out/bin - ''; meta = { license = stdenv.lib.licenses.gpl2Plus; - description = "a validating XML parser written in C"; - homepage = "http://www.cogsci.ed.ac.uk/~richard/rxp.html"; + description = "A validating XML parser written in C"; + homepage = http://www.cogsci.ed.ac.uk/~richard/rxp.html; }; }