3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/knightos/kcc/default.nix

29 lines
617 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, bison, flex, boost }:
2020-08-22 11:26:28 +01:00
stdenv.mkDerivation rec {
pname = "kcc";
2020-12-15 14:42:28 +00:00
version = "4.0.4";
2020-08-22 11:26:28 +01:00
src = fetchFromGitHub {
owner = "KnightOS";
repo = "kcc";
rev = version;
2020-12-15 14:42:28 +00:00
sha256 = "13sbpv8ynq8sjackv93jqxymk0bsy76c5fc0v29wz97v53q3izjp";
2020-08-22 11:26:28 +01:00
};
strictDeps = true;
nativeBuildInputs = [ bison cmake flex ];
2020-08-22 11:26:28 +01:00
buildInputs = [ boost ];
meta = with lib; {
2020-08-22 11:26:28 +01:00
homepage = "https://knightos.org/";
description = "KnightOS C compiler";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ siraben ];
2020-10-17 07:08:55 +01:00
platforms = platforms.unix;
2020-08-22 11:26:28 +01:00
};
}