lol
1{ stdenv, fetchurl }:
2
3let
4
5 version = "2.3.1";
6
7in stdenv.mkDerivation {
8 name = "as31-${version}";
9 src = fetchurl {
10 name = "as31-${version}.tar.gz"; # Nix doesn't like the colons in the URL
11 url = "http://wiki.erazor-zone.de/_media/wiki:projects:linux:as31:as31-${version}.tar.gz";
12 sha256 = "0mbk6z7z03xb0r0ccyzlgkjdjmdzknck4yxxmgr9k7v8f5c348fd";
13 };
14 preConfigure = ''
15 chmod +x ./configure
16 '';
17
18 meta = with stdenv.lib; {
19 homepage = "http://wiki.erazor-zone.de/wiki:projects:linux:as31";
20 description = "An 8031/8051 assembler by Ken Stauffer and Theo Deraadt which produces a variety of object code output formats";
21 maintainers = with maintainers; [ aneeshusa ];
22 };
23}