diff options
Diffstat (limited to 'pkgs/development/compilers/atasm/default.nix')
-rw-r--r-- | pkgs/development/compilers/atasm/default.nix | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/pkgs/development/compilers/atasm/default.nix b/pkgs/development/compilers/atasm/default.nix deleted file mode 100644 index 4e73fa6d4ecd..000000000000 --- a/pkgs/development/compilers/atasm/default.nix +++ /dev/null @@ -1,65 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, zlib -}: - -stdenv.mkDerivation rec { - pname = "atasm"; - version = "1.23"; - - src = fetchFromGitHub { - owner = "CycoPH"; - repo = "atasm"; - rev = "V${version}"; - hash = "sha256-U1HNYTiXO6WZEQJl2icY0ZEVy82CsL1mKR7Xgj9OZ14="; - }; - - makefile = "Makefile"; - - patches = [ - # make install fails because atasm.txt was moved; report to upstream - ./0000-file-not-found.diff - # select flags for compilation - ./0001-select-flags.diff - ]; - - dontConfigure = true; - - buildInputs = [ - zlib - ]; - - preBuild = '' - makeFlagsArray+=( - -C ./src - CC=cc - USEZ="-DZLIB_CAPABLE -I${zlib}/include" - ZLIB="-L${zlib}/lib -lz" - UNIX="-DUNIX" - ) - ''; - - preInstall = '' - mkdir -p $out/bin/ - install -d $out/share/doc/${pname} $out/man/man1 - installFlagsArray+=( - DESTDIR=$out/bin/ - DOCDIR=$out/share/doc/${pname} - MANDIR=$out/man/man1 - ) - ''; - - postInstall = '' - mv docs/* $out/share/doc/${pname} - ''; - - meta = with lib; { - homepage = "https://github.com/CycoPH/atasm"; - description = "Commandline 6502 assembler compatible with Mac/65"; - license = licenses.gpl2Plus; - changelog = "https://github.com/CycoPH/atasm/releases/tag/V${version}"; - maintainers = with maintainers; [ AndersonTorres ]; - platforms = with platforms; unix; - }; -} |