170c3b4027
GitOrigin-RevId: 7cb76200088f45cd24a9aa67fd2f9657943d78a4
27 lines
605 B
Nix
27 lines
605 B
Nix
{ fetchFromGitHub, lib, stdenv, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "scas";
|
|
version = "0.5.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "KnightOS";
|
|
repo = "scas";
|
|
rev = version;
|
|
sha256 = "sha256-JGQE+orVDKKJsTt8sIjPX+3yhpZkujISroQ6g19+MzU=";
|
|
};
|
|
|
|
cmakeFlags = [ "-DSCAS_LIBRARY=1" ];
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://knightos.org/";
|
|
description = "Assembler and linker for the Z80";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ siraben ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|