From fdffba3f868a0ec29115e57feca1db8279922559 Mon Sep 17 00:00:00 2001 From: c0bw3b Date: Sun, 8 Dec 2019 23:18:37 +0100 Subject: [PATCH] coprthr: remove package It's been marked as broken for 5 years --- .../development/libraries/coprthr/default.nix | 38 ------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 - 3 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 pkgs/development/libraries/coprthr/default.nix diff --git a/pkgs/development/libraries/coprthr/default.nix b/pkgs/development/libraries/coprthr/default.nix deleted file mode 100644 index 86f4485a900d..000000000000 --- a/pkgs/development/libraries/coprthr/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ stdenv, fetchurl, libelf, libconfig, libevent, which, unzip, perl, python -, bison, flex }: - -stdenv.mkDerivation rec { - pname = "coprthr"; - version = "1.6"; - - src = fetchurl { - url = "https://github.com/browndeer/coprthr/archive/stable-${version}.zip"; - sha256 = "0ilx4v1ydppjnq1i0z5j0x4lmi29z39sappar7c0wqady0b5dpz9"; - }; - - buildInputs = - [ libelf libconfig libevent which unzip perl python bison flex ]; - - patchPhase = '' - for x in src/libocl/gen_oclcall_hook.pl tools/cltrace/gen_interceptor.pl src/libocl/gen_oclcall.pl src/scripts/gen_ocl_call_vector.pl src/libstdcl/gen_clarg_setn.pl; do - substituteInPlace $x --replace "/usr/bin/perl" ${perl}/bin/perl - done - ''; - - configureFlags = - [ "--with-libelf=${libelf}" - "--with-libevent=${libevent.dev}" - "--with-libconfig=${libconfig}" - "--with-opencl-icd-path=$out/etc/OpenCL/vendors" - "--enable-user-install" - ]; - - meta = { - description = "The CO-PRocessing THReads SDK for OpenCL/STDCL"; - homepage = "http://www.browndeertechnology.com/coprthr.htm"; - license = stdenv.lib.licenses.lgpl3; - platforms = stdenv.lib.platforms.linux; - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; - broken = true; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 0f06e150cc6b..bccde816a3af 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -69,6 +69,7 @@ mapAliases ({ compton-git = compton; # added 2019-05-20 conntrack_tools = conntrack-tools; # added 2018-05 cool-old-term = cool-retro-term; # added 2015-01-31 + coprthr = throw "coprthr has been removed."; # added 2019-12-08 corebird = throw "deprecated 2019-10-02: See https://www.patreon.com/posts/corebirds-future-18921328. Please use Cawbird as replacement."; coredumper = throw "coredumper has been removed: Abandoned by upstream."; # added 2019-11-16 cpp-gsl = microsoft_gsl; # added 2019-05-24 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7b77efde2c2f..65ff9b9ede64 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1456,8 +1456,6 @@ in contrast = callPackage ../applications/accessibility/contrast { }; - coprthr = callPackage ../development/libraries/coprthr { }; - cplex = callPackage ../applications/science/math/cplex (config.cplex or {}); cpulimit = callPackage ../tools/misc/cpulimit { };