knightos-kcc: init at 4.0.0

This commit is contained in:
Ben Siraphob 2020-08-22 17:26:28 +07:00
parent 5f212d693f
commit cfa59f2cdb
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

@ -9170,6 +9170,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 {