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