2010-07-28 13:55:54 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
2008-08-06 22:39:01 +02:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "byacc-1.9";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://www.isc.org/sources/devel/tools/byacc-1.9.tar.gz;
|
|
|
|
sha256 = "d61a15ac4ac007c188d0c0e99365f016f8d327755f43032b58e400754846f736";
|
|
|
|
};
|
|
|
|
|
2010-07-28 13:55:54 +02:00
|
|
|
preConfigure =
|
2008-08-06 22:39:01 +02:00
|
|
|
''mkdir -p $out/bin
|
|
|
|
sed -i "s@^DEST.*\$@DEST = $out/bin/yacc@" Makefile
|
2010-07-28 13:55:54 +02:00
|
|
|
'';
|
2008-08-06 22:39:01 +02:00
|
|
|
|
|
|
|
meta = {
|
2010-07-28 13:55:54 +02:00
|
|
|
description = "Berkeley YACC";
|
|
|
|
homepage = http://dickey.his.com/byacc/byacc.html;
|
|
|
|
license = "public domain";
|
2008-08-06 22:39:01 +02:00
|
|
|
};
|
|
|
|
}
|