From b4c449635a09f5e143a9887afbefa7a7223fc906 Mon Sep 17 00:00:00 2001 From: Aneesh Agrawal Date: Thu, 4 Feb 2016 01:37:28 -0500 Subject: [PATCH] as31: init at 2.3.1 --- lib/maintainers.nix | 1 + pkgs/development/compilers/as31/default.nix | 23 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 26 insertions(+) create mode 100644 pkgs/development/compilers/as31/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index f73312db99e7..aa27c6454369 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -26,6 +26,7 @@ anderspapitto = "Anders Papitto "; andres = "Andres Loeh "; andrewrk = "Andrew Kelley "; + aneeshusa = "Aneesh Agrawal "; antono = "Antono Vasiljev "; ardumont = "Antoine R. Dumont "; aristid = "Aristid Breitkreuz "; diff --git a/pkgs/development/compilers/as31/default.nix b/pkgs/development/compilers/as31/default.nix new file mode 100644 index 000000000000..24cba18254f2 --- /dev/null +++ b/pkgs/development/compilers/as31/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl }: + +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"; + }; + preConfigure = '' + chmod +x ./configure + ''; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 92fd1d49a661..7ceef7ecad0a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -565,6 +565,8 @@ let artyFX = callPackage ../applications/audio/artyFX {}; + as31 = callPackage ../development/compilers/as31 {}; + ascii = callPackage ../tools/text/ascii { }; asciinema = goPackages.asciinema.bin // { outputs = [ "bin" ]; };