depot/third_party/nixpkgs/pkgs/development/tools/knightos/z80e/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

27 lines
669 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, knightos-scas, readline, SDL2 }:
stdenv.mkDerivation rec {
pname = "z80e";
version = "0.5.3";
src = fetchFromGitHub {
owner = "KnightOS";
repo = "z80e";
rev = version;
sha256 = "sha256-FQMYHxKxHEP+x98JbGyjaM0OL8QK/p3epsAWvQkv6bc=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ readline SDL2 knightos-scas ];
cmakeFlags = [ "-Denable-sdl=YES" ];
meta = with lib; {
homepage = "https://knightos.org/";
description = "Z80 calculator emulator and debugger";
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
platforms = platforms.unix;
};
}