2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, pkgs
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gmqcc";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0-unstable-2023-05-05";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "graphitemaster";
|
|
|
|
repo = "gmqcc";
|
2024-04-21 15:54:59 +00:00
|
|
|
rev = "2fe0af00e78d55edecd7ca7ee1808c4ea946b05f";
|
|
|
|
hash = "sha256-AyuwsUIt+P/D4ABuIXGJxpp0TMAbnDg+R2iNMy6WjRw=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out/bin
|
|
|
|
install -m755 gmqcc $out/bin
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://graphitemaster.github.io/gmqcc/";
|
|
|
|
description = "A modern QuakeC compiler";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "gmqcc";
|
2022-06-16 17:23:12 +00:00
|
|
|
longDescription = ''
|
|
|
|
For an enduring period of time the options for a decent compiler for
|
|
|
|
the Quake C programming language were confined to a specific compiler
|
|
|
|
known as QCC. Attempts were made to extend and improve upon the design
|
|
|
|
of QCC, but many foreseen the consequences of building on a broken
|
|
|
|
foundation. The solution was obvious, a new compiler; one born from
|
|
|
|
the NIH realm of sarcastic wit.
|
|
|
|
We welcome you. You won't find a better Quake C compiler.
|
|
|
|
'';
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ necrophcodr ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|