nixpkgs/pkgs/development/compilers/acme/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
776 B
Nix
Raw Normal View History

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