1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 05:25:38 +00:00
nixpkgs/pkgs/development/compilers/as31/default.nix

31 lines
792 B
Nix
Raw Normal View History

{ stdenv, fetchurl, yacc }:
2016-02-04 06:37:28 +00:00
let
version = "2.3.1";
in stdenv.mkDerivation {
name = "as31-${version}";
src = fetchurl {
name = "as31-${version}.tar.gz"; # Nix doesn't like the colons in the URL
url = "http://wiki.erazor-zone.de/_media/wiki:projects:linux:as31:as31-${version}.tar.gz";
sha256 = "0mbk6z7z03xb0r0ccyzlgkjdjmdzknck4yxxmgr9k7v8f5c348fd";
};
buildInputs = [ yacc ];
2016-02-04 06:37:28 +00:00
preConfigure = ''
chmod +x ./configure
'';
postConfigure = ''
rm as31/parser.c
'';
2016-02-04 06:37:28 +00:00
meta = with stdenv.lib; {
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";
maintainers = with maintainers; [ aneeshusa ];
};
}