depot/third_party/nixpkgs/pkgs/development/tools/knightos/z80e/default.nix
Default email a5adf1ddd8 Project import generated by Copybara.
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
2021-01-15 23:18:51 +01:00

27 lines
672 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, knightos-scas, readline, SDL2 }:
stdenv.mkDerivation rec {
pname = "z80e";
version = "0.5.2";
src = fetchFromGitHub {
owner = "KnightOS";
repo = "z80e";
rev = version;
sha256 = "0gdv17ynjd6zf3i4hkimd89xkrd8kxas3bf8d5sq54fdicapvkzc";
};
nativeBuildInputs = [ cmake knightos-scas ];
buildInputs = [ readline SDL2 ];
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;
};
}