Merge pull request #95891 from siraben/kcc-init
knightos-kcc: init at 4.0.0
This commit is contained in:
commit
4eb9188da6
2 changed files with 27 additions and 0 deletions
25
pkgs/development/compilers/kcc/default.nix
Normal file
25
pkgs/development/compilers/kcc/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue