nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchsvn,
5}:
6
7stdenv.mkDerivation (finalAttrs: {
8 pname = "acme";
9 version = "unstable-2021-11-05";
10
11 src = fetchsvn {
12 url = "svn://svn.code.sf.net/p/acme-crossass/code-0/trunk";
13 rev = "323";
14 sha256 = "1dzvip90yf1wg0fhfghn96dwrhg289d06b624px9a2wwy3vp5ryg";
15 };
16
17 sourceRoot = "${finalAttrs.src.name}/src";
18
19 postPatch = ''
20 substituteInPlace Makefile \
21 --replace "= gcc" "?= gcc"
22 '';
23
24 enableParallelBuilding = true;
25
26 makeFlags = [ "BINDIR=$(out)/bin" ];
27
28 meta = {
29 description = "Multi-platform cross assembler for 6502/6510/65816 CPUs";
30 mainProgram = "acme";
31 homepage = "https://sourceforge.net/projects/acme-crossass/";
32 license = lib.licenses.gpl2Plus;
33 platforms = lib.platforms.all;
34 maintainers = with lib.maintainers; [ OPNA2608 ];
35 };
36})