Merge pull request #95891 from siraben/kcc-init

knightos-kcc: init at 4.0.0
This commit is contained in:
Daniël de Kok 2020-08-28 14:21:22 +02:00 committed by GitHub
commit 4eb9188da6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, fetchFromGitHub, cmake, bison, flex, boost }:
stdenv.mkDerivation rec {
pname = "kcc";
version = "4.0.0";
src = fetchFromGitHub {
owner = "KnightOS";
repo = "kcc";
rev = version;
sha256 = "1cd226nqbxq32mppkljavq1kb74jqfqns9r7fskszr42hbygynk4";
};
nativeBuildInputs = [ cmake bison flex ];
buildInputs = [ boost ];
meta = with stdenv.lib; {
homepage = "https://knightos.org/";
description = "KnightOS C compiler";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ siraben ];
};
}

View File

@ -9239,6 +9239,8 @@ in
jwasm = callPackage ../development/compilers/jwasm { };
knightos-kcc = callPackage ../development/compilers/kcc { };
kotlin = callPackage ../development/compilers/kotlin { };
lazarus = callPackage ../development/compilers/fpc/lazarus.nix {