depot/third_party/nixpkgs/pkgs/development/tools/knightos/kcc/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

29 lines
642 B
Nix

{ lib, 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";
};
strictDeps = true;
nativeBuildInputs = [ bison cmake flex ];
buildInputs = [ boost ];
meta = with lib; {
homepage = "https://knightos.org/";
description = "KnightOS C compiler";
mainProgram = "kcc";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ siraben ];
platforms = platforms.unix;
};
}