2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchsvn }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "acme";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "unstable-2021-02-14";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchsvn {
|
|
|
|
url = "svn://svn.code.sf.net/p/acme-crossass/code-0/trunk";
|
2021-06-28 23:13:55 +00:00
|
|
|
rev = "319";
|
|
|
|
sha256 = "sha256-VifIQ+UEVMKJ+cNS+Xxusazinr5Cgu1lmGuhqj/5Mpk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = "code-0-r${src.rev}/src";
|
|
|
|
|
|
|
|
makeFlags = [ "BINDIR=$(out)/bin" ];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace Makefile \
|
|
|
|
--replace "= gcc" "?= gcc"
|
|
|
|
'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-19 00:13:06 +00:00
|
|
|
description = "A multi-platform cross assembler for 6502/6510/65816 CPUs";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|