# TODO with import {}; stdenv.mkDerivation rec { pname = "vasm-psi-x"; version = "1.1.2"; src = fetchFromGitHub { owner = "NaotoNTP"; repo = "vasm-psi-x"; rev = "v${version}"; hash = "sha256-JuJoh99Dr1wDFbvpD28tgxyG/JH6B6NANoTVZnjhqf0="; }; nativeBuildInputs = [ cmake ]; # output vasm6502, vasmm68k, and vasmz80 cmakeFlags = [ "-DVASM_CPU=m68k" "-DVASM_SYNTAX=psi-x" ]; meta = with lib; { description = "Portable and retargetable assembler"; homepage = "https://github.com/NaotoNTP/vasm-psi-x"; license = licenses.free; }; }