bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
32 lines
793 B
Nix
32 lines
793 B
Nix
{ lib, stdenv, fetchsvn }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "acme";
|
|
version = "unstable-2021-11-05";
|
|
|
|
src = fetchsvn {
|
|
url = "svn://svn.code.sf.net/p/acme-crossass/code-0/trunk";
|
|
rev = "323";
|
|
sha256 = "1dzvip90yf1wg0fhfghn96dwrhg289d06b624px9a2wwy3vp5ryg";
|
|
};
|
|
|
|
sourceRoot = "${src.name}/src";
|
|
|
|
postPatch = ''
|
|
substituteInPlace Makefile \
|
|
--replace "= gcc" "?= gcc"
|
|
'';
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
makeFlags = [ "BINDIR=$(out)/bin" ];
|
|
|
|
meta = with lib; {
|
|
description = "Multi-platform cross assembler for 6502/6510/65816 CPUs";
|
|
mainProgram = "acme";
|
|
homepage = "https://sourceforge.net/projects/acme-crossass/";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ OPNA2608 ];
|
|
};
|
|
}
|