1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-+FvNYfJ5I91RfuJTiOPhj5KW8HoOq8OgnnpFEgefSGc=";
15 "CC=${stdenv.cc.targetPrefix}cc"
16 "CXX=${stdenv.cc.targetPrefix}c++"
21 install -D sjasmplus $out/bin/sjasmplus
26 homepage = "https://z00m128.github.io/sjasmplus/";
27 description = "A Z80 assembly language cross compiler. It is based on the SjASM source code by Sjoerd Mastijn";
28 license = licenses.bsd3;
29 platforms = platforms.all;
30 maintainers = with maintainers; [ electrified ];