Skip to content

Commit

Permalink
Merge pull request #95891 from siraben/kcc-init
Browse files Browse the repository at this point in the history
knightos-kcc: init at 4.0.0
  • Loading branch information
danieldk committed Aug 28, 2020
2 parents 86fa610 + cfa59f2 commit 4eb9188
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pkgs/development/compilers/kcc/default.nix
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -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 {
Expand Down

0 comments on commit 4eb9188

Please sign in to comment.