diff options
author | Thiago Kenji Okada <thiagokokada@gmail.com> | 2022-06-08 15:11:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-08 15:11:29 +0100 |
commit | e2851dcdae0ce4f1deae76034b4e5691f8b0b38b (patch) | |
tree | a872a9d133bb5a5bf08e3a1cf388e2b747d238eb | |
parent | 0eabc2a88880199eaa8585bdcd65d65dec746511 (diff) | |
parent | 13712fce0efb0987a22e9780343c23a930621c2e (diff) |
Merge pull request #176565 from necrophcodr/add-gmqcc
gmqcc: init at unstable-2021-07-09
-rw-r--r-- | maintainers/maintainer-list.nix | 6 | ||||
-rw-r--r-- | pkgs/development/compilers/gmqcc/default.nix | 43 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
3 files changed, 51 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 38c74580f514f..09cff9dd8cc32 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -9093,6 +9093,12 @@ githubId = 3747396; name = "Nathan Isom"; }; + necrophcodr = { + email = "nc@scalehost.eu"; + github = "necrophcodr"; + githubId = 575887; + name = "Steffen Rytter Postas"; + }; neilmayhew = { email = "nix@neil.mayhew.name"; github = "neilmayhew"; diff --git a/pkgs/development/compilers/gmqcc/default.nix b/pkgs/development/compilers/gmqcc/default.nix new file mode 100644 index 0000000000000..f3b25e2dbd4ad --- /dev/null +++ b/pkgs/development/compilers/gmqcc/default.nix @@ -0,0 +1,43 @@ +{ lib +, pkgs +, stdenv +, fetchFromGitHub +}: + +stdenv.mkDerivation rec { + pname = "gmqcc"; + version = "unstable-2021-07-09"; + + src = fetchFromGitHub { + owner = "graphitemaster"; + repo = "gmqcc"; + rev = "297eab9e5e2c9cc4f41201b68821593a5cf9a725"; + sha256 = "1hl2qn7402ia03kjkblj4q4wfypxkil99sivsyk2vrnwwpdp4nzx"; + }; + + 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"; + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a3f93bdfe181c..73693bab099b1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13023,6 +13023,8 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) Security; }; + gmqcc = callPackage ../development/compilers/gmqcc {}; + gtk-server = callPackage ../development/interpreters/gtk-server {}; # Haskell and GHC |