1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 18:12:46 +00:00

knightos-z80e: init at 0.5.0

This commit is contained in:
Ben Siraphob 2020-10-01 22:26:44 +07:00 committed by Daniël de Kok
parent de6f754b6e
commit bd09a9e386
2 changed files with 29 additions and 0 deletions

View file

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

View file

@ -9338,6 +9338,8 @@ in
knightos-scas = callPackage ../development/tools/knightos/scas { };
knightos-z80e = callPackage ../development/tools/knightos/z80e { };
kotlin = callPackage ../development/compilers/kotlin { };
lazarus = callPackage ../development/compilers/fpc/lazarus.nix {