about summary refs log tree commit diff
path: root/pkgs/development/compilers/nqc
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/nqc')
-rw-r--r--pkgs/development/compilers/nqc/default.nix33
-rw-r--r--pkgs/development/compilers/nqc/nqc-unistd.patch11
2 files changed, 0 insertions, 44 deletions
diff --git a/pkgs/development/compilers/nqc/default.nix b/pkgs/development/compilers/nqc/default.nix
deleted file mode 100644
index a7d6cb5f2cdd..000000000000
--- a/pkgs/development/compilers/nqc/default.nix
+++ /dev/null
@@ -1,33 +0,0 @@
-{ lib, stdenv, fetchurl, fetchpatch }:
-
-stdenv.mkDerivation rec {
-  pname = "nqc";
-  version = "3.1.r6";
-
-  src = fetchurl {
-    url = "https://bricxcc.sourceforge.net/nqc/release/nqc-${version}.tgz";
-    sha256 = "sha256-v9XmVPY5r3pYjP3vTSK9Xvz/9UexClbOvr3ljvK/52Y=";
-  };
-
-  sourceRoot = ".";
-
-  patches = [
-    ./nqc-unistd.patch
-    (fetchpatch {
-      url = "https://sourceforge.net/p/bricxcc/patches/_discuss/thread/00b427dc/b84b/attachment/nqc-01-Linux_usb_and_tcp.diff";
-      sha256 = "sha256-UZmmhhhfLAUus36TOBhiDQ8KUeEdYhGHVFwqKqDIqII=";
-    })
-  ];
-
-  makeFlags = [ "PREFIX=$(out)" ];
-
-  dontConfigure = true;
-
-  meta = with lib; {
-    homepage = "https://bricxcc.sourceforge.net/nqc/";
-    description = "Programming language for several LEGO MINDSTORMS products including the RCX, CyberMaster, and Scout";
-    platforms = platforms.linux;
-    license = licenses.mpl10;
-    maintainers = with maintainers; [ christophcharles ];
-  };
-}
diff --git a/pkgs/development/compilers/nqc/nqc-unistd.patch b/pkgs/development/compilers/nqc/nqc-unistd.patch
deleted file mode 100644
index 7abf37f93ca7..000000000000
--- a/pkgs/development/compilers/nqc/nqc-unistd.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ruN nqc-3.1.r6-old/compiler/lexer.cpp nqc-3.1.r6-new/compiler/lexer.cpp
---- nqc-3.1.r6-old/compiler/lexer.cpp	2007-06-06 20:19:10.000000000 +0200
-+++ nqc-3.1.r6-new/compiler/lexer.cpp	2022-10-13 07:57:08.247213954 +0200
-@@ -11,6 +11,7 @@
- #define YY_FLEX_MINOR_VERSION 5

- 

- #include <stdio.h>

-+#include <unistd.h>

- 

- #if defined(__MWERKS__) && !__MACH__ && !YY_NEVER_INTERACTIVE

- #include <unix.h>