2021-01-22 11:25:31 +00:00
|
|
|
{ lib, stdenv, fetchsvn }:
|
2020-03-15 16:27:21 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "acme";
|
2021-01-18 13:35:24 +00:00
|
|
|
version = "unstable-2020-12-27";
|
2020-03-15 16:27:21 +00:00
|
|
|
|
|
|
|
src = fetchsvn {
|
|
|
|
url = "svn://svn.code.sf.net/p/acme-crossass/code-0/trunk";
|
2021-01-18 13:35:24 +00:00
|
|
|
rev = "314";
|
|
|
|
sha256 = "08zg26rh19nlif7id91nv0syx5n243ssxhfw0nk2r2bhjm5jrjz1";
|
2020-03-15 16:27:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot = "code-0-r${src.rev}/src";
|
|
|
|
|
|
|
|
makeFlags = [ "BINDIR=$(out)/bin" ];
|
|
|
|
|
2020-03-27 20:48:22 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace Makefile \
|
|
|
|
--replace "= gcc" "?= gcc"
|
|
|
|
'';
|
|
|
|
|
2021-01-22 11:25:31 +00:00
|
|
|
meta = with lib; {
|
2020-10-11 05:55:05 +00:00
|
|
|
description = "A multi-platform cross assembler for 6502/6510/65816 CPUs";
|
2020-03-15 16:27:21 +00:00
|
|
|
homepage = "https://sourceforge.net/projects/acme-crossass/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ OPNA2608 ];
|
|
|
|
};
|
|
|
|
}
|