mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 21:17:46 +00:00
27 lines
597 B
Nix
27 lines
597 B
Nix
{ stdenv, fetchFromGitHub, cmake, bison, flex, boost }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "kcc";
|
|
|
|
version = "4.0.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "KnightOS";
|
|
repo = "kcc";
|
|
rev = version;
|
|
sha256 = "13sbpv8ynq8sjackv93jqxymk0bsy76c5fc0v29wz97v53q3izjp";
|
|
};
|
|
|
|
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 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|