blob: 4e73c820912be51819d09cf1beb64f07b637c2d9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "byacc-${version}";
version = "20180609";
src = fetchurl {
urls = [
"ftp://ftp.invisible-island.net/byacc/${name}.tgz"
"https://invisible-mirror.net/archives/byacc/${name}.tgz"
];
sha256 = "173l9yai5yndbyn8nzdl6q11wv4x959bd0w392i82nfsqcz0pfsv";
};
configureFlags = [
"--program-transform-name='s,^,b,'"
];
doCheck = true;
postInstall = ''
ln -s $out/bin/byacc $out/bin/yacc
'';
meta = with stdenv.lib; {
description = "Berkeley YACC";
homepage = https://invisible-island.net/byacc/byacc.html;
license = licenses.publicDomain;
platforms = platforms.unix;
};
}
|