rxp: update from 1.2.3 to 1.5.0

This commit is contained in:
Pascal Wittmann 2014-11-14 19:13:47 +01:00
parent d689a18e65
commit de8df3ce47

View File

@ -1,20 +1,17 @@
{stdenv, fetchurl} : {stdenv, fetchurl} :
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "rxp-1.2.3"; name = "rxp-${version}";
src = fetchurl { version = "1.5.0";
url = http://ftp.de.debian.org/debian/pool/main/r/rxp/rxp_1.2.3.orig.tar.gz;
sha256 = "1r4khvmnl5231y37ji8f3mikxy0dhdz155wi3qihfi27mc1yv534"; src = fetchurl {
}; url = "mirror://debian/pool/main/r/rxp/rxp_${version}.orig.tar.gz";
NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE"; sha256 = "0y365r36wzj4xn1dzhb03spxljnrx8vwqbiwnnwz4630129gzpm6";
};
installPhase = ''
mkdir -p $out/bin
cp rxp $out/bin
'';
meta = { meta = {
license = stdenv.lib.licenses.gpl2Plus; license = stdenv.lib.licenses.gpl2Plus;
description = "a validating XML parser written in C"; description = "A validating XML parser written in C";
homepage = "http://www.cogsci.ed.ac.uk/~richard/rxp.html"; homepage = http://www.cogsci.ed.ac.uk/~richard/rxp.html;
}; };
} }