mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
Merge pull request #13683 from aneeshusa/use-yacc-to-generate-as31-parser
as31: use yacc to generate parser.c file
This commit is contained in:
commit
8b8369373b
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, yacc }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
@ -11,10 +11,17 @@ in stdenv.mkDerivation {
|
|||||||
url = "http://wiki.erazor-zone.de/_media/wiki:projects:linux:as31:as31-${version}.tar.gz";
|
url = "http://wiki.erazor-zone.de/_media/wiki:projects:linux:as31:as31-${version}.tar.gz";
|
||||||
sha256 = "0mbk6z7z03xb0r0ccyzlgkjdjmdzknck4yxxmgr9k7v8f5c348fd";
|
sha256 = "0mbk6z7z03xb0r0ccyzlgkjdjmdzknck4yxxmgr9k7v8f5c348fd";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = [ yacc ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
chmod +x ./configure
|
chmod +x ./configure
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postConfigure = ''
|
||||||
|
rm as31/parser.c
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "http://wiki.erazor-zone.de/wiki:projects:linux:as31";
|
homepage = "http://wiki.erazor-zone.de/wiki:projects:linux:as31";
|
||||||
description = "An 8031/8051 assembler by Ken Stauffer and Theo Deraadt which produces a variety of object code output formats";
|
description = "An 8031/8051 assembler by Ken Stauffer and Theo Deraadt which produces a variety of object code output formats";
|
||||||
|
Loading…
Reference in New Issue
Block a user