diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2020-08-22 17:26:28 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2020-08-28 16:31:06 +0700 |
commit | cfa59f2cdb7c652d84fbb0b6f8f154f8f3d72ff0 (patch) | |
tree | 07fcc5a3adb80f2c53efafcbd3581a24551a598f /pkgs/development/compilers | |
parent | 5f212d693fe1c82f9c7e20cd57bc69802b36a321 (diff) |
knightos-kcc: init at 4.0.0
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/kcc/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/compilers/kcc/default.nix b/pkgs/development/compilers/kcc/default.nix new file mode 100644 index 0000000000000..49851dd0c074a --- /dev/null +++ b/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 ]; + }; +} |