depot/third_party/nixpkgs/pkgs/development/tools/knightos/z80e/default.nix
Default email d419639f9c Project import generated by Copybara.
GitOrigin-RevId: 6b1057b452c55bb3b463f0d7055bc4ec3fd1f381
2021-02-17 18:02:09 +01:00

27 lines
671 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 = "A Z80 calculator emulator and debugger";
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
platforms = platforms.unix;
};
}