2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchsvn }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "acme";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "unstable-2021-11-05";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchsvn {
|
|
|
|
url = "svn://svn.code.sf.net/p/acme-crossass/code-0/trunk";
|
2022-07-14 12:49:19 +00:00
|
|
|
rev = "323";
|
|
|
|
sha256 = "1dzvip90yf1wg0fhfghn96dwrhg289d06b624px9a2wwy3vp5ryg";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
sourceRoot = "${src.name}/src";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace Makefile \
|
|
|
|
--replace "= gcc" "?= gcc"
|
|
|
|
'';
|
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
makeFlags = [ "BINDIR=$(out)/bin" ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Multi-platform cross assembler for 6502/6510/65816 CPUs";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "acme";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://sourceforge.net/projects/acme-crossass/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ OPNA2608 ];
|
|
|
|
};
|
|
|
|
}
|