2008-10-05 10:57:39 +02:00
|
|
|
{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";
|
|
|
|
};
|
2009-11-10 15:25:26 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE";
|
|
|
|
|
2008-10-05 10:57:39 +02:00
|
|
|
installPhase = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/bin
|
2008-10-05 10:57:39 +02:00
|
|
|
cp rxp $out/bin
|
|
|
|
'';
|
|
|
|
meta = {
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2008-10-05 10:57:39 +02:00
|
|
|
description = "a validating XML parser written in C";
|
|
|
|
homepage = "http://www.cogsci.ed.ac.uk/~richard/rxp.html";
|
|
|
|
};
|
|
|
|
}
|