about summary refs log tree commit diff
path: root/pkgs/development/compilers/asl
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/asl')
-rw-r--r--pkgs/development/compilers/asl/Makefile-nixos.def31
-rw-r--r--pkgs/development/compilers/asl/default.nix57
2 files changed, 0 insertions, 88 deletions
diff --git a/pkgs/development/compilers/asl/Makefile-nixos.def b/pkgs/development/compilers/asl/Makefile-nixos.def
deleted file mode 100644
index 0f41510733c1..000000000000
--- a/pkgs/development/compilers/asl/Makefile-nixos.def
+++ /dev/null
@@ -1,31 +0,0 @@
-# -------------------------------------------------------------------------
-# choose your compiler (must be ANSI-compliant!) and linker command, plus
-# any additionally needed flags
-
-OBJDIR = .objdir/
-CC = cc
-CFLAGS = -g -fomit-frame-pointer -Wall
-HOST_OBJEXTENSION = .o
-LD = $(CC)
-LDFLAGS =
-HOST_EXEXTENSION =
-
-# no cross build
-
-TARG_OBJDIR = $(OBJDIR)
-TARG_CC = $(CC)
-TARG_CFLAGS = $(CFLAGS)
-TARG_OBJEXTENSION = $(HOST_OBJEXTENSION)
-TARG_LD = $(LD)
-TARG_LDFLAGS = $(LDFLAGS)
-TARG_EXEXTENSION = $(HOST_EXEXTENSION)
-
-# -------------------------------------------------------------------------
-# directories where binaries, includes, and manpages should go during
-# installation
-
-BINDIR = @bindir@
-INCDIR = @incdir@
-MANDIR = @mandir@
-LIBDIR = @libdir@
-DOCDIR = @docdir@
diff --git a/pkgs/development/compilers/asl/default.nix b/pkgs/development/compilers/asl/default.nix
deleted file mode 100644
index 5a7ca869278a..000000000000
--- a/pkgs/development/compilers/asl/default.nix
+++ /dev/null
@@ -1,57 +0,0 @@
-{ lib
-, stdenv
-, fetchzip
-, texliveMedium
-, buildDocs ? false
-}:
-
-stdenv.mkDerivation (finalAttrs: {
-  pname = "asl";
-  version = "142-bld232";
-
-  src = let inherit (finalAttrs) pname version; in fetchzip {
-    name = "${pname}-${version}";
-    url = "http://john.ccac.rwth-aachen.de:8000/ftp/as/source/c_version/asl-current-${version}.tar.bz2";
-    hash = "sha256-Q50GzXBxFMhbt5s9OgHPNH4bdqz2hhEmTnMmKowVn2E=";
-  };
-
-  outputs = [ "out" "doc" "man" ];
-
-  nativeBuildInputs = lib.optionals buildDocs [ texliveMedium ];
-
-  postPatch = lib.optionalString (!buildDocs) ''
-    substituteInPlace Makefile --replace "all: binaries docs" "all: binaries"
-  '' + lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) ''
-    substituteInPlace sysdefs.h --replace "x86_64" "aarch64"
-  '';
-
-  dontConfigure = true;
-
-  preBuild = ''
-    bindir="${placeholder "out"}/bin" \
-    docdir="${placeholder "doc"}/share/doc/asl" \
-    incdir="${placeholder "out"}/include/asl" \
-    libdir="${placeholder "out"}/lib/asl" \
-    mandir="${placeholder "man"}/share/man" \
-    substituteAll ${./Makefile-nixos.def} Makefile.def
-    mkdir -p .objdir
-  '';
-
-  meta = with lib; {
-    homepage = "http://john.ccac.rwth-aachen.de:8000/as/index.html";
-    description = "Portable macro cross assembler";
-    longDescription = ''
-      AS is a portable macro cross assembler for a variety of microprocessors
-      and -controllers. Though it is mainly targeted at embedded processors and
-      single-board computers, you also find CPU families in the target list that
-      are used in workstations and PCs.
-    '';
-    license = licenses.gpl2Plus;
-    maintainers = with maintainers; [ AndersonTorres ];
-    platforms = platforms.unix;
-  };
-})
-# TODO: cross-compilation support
-# TODO: customize TeX input
-# TODO: report upstream about `mkdir -p .objdir/`
-# TODO: suggest upstream about building docs as an option