From d1232049fb6ff8b2cf0d3e9f8f0df686c5de00d4 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 14 Jan 2016 16:00:09 +0100 Subject: [PATCH] tkgate 2.x: remove dead package Broken since April 2014. Homepage leads to an expired domain. --- .../science/electronics/tkgate/2.x.nix | 34 ------------------- pkgs/top-level/all-packages.nix | 3 -- 2 files changed, 37 deletions(-) delete mode 100644 pkgs/applications/science/electronics/tkgate/2.x.nix diff --git a/pkgs/applications/science/electronics/tkgate/2.x.nix b/pkgs/applications/science/electronics/tkgate/2.x.nix deleted file mode 100644 index 108986ddefe4..000000000000 --- a/pkgs/applications/science/electronics/tkgate/2.x.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ stdenv, fetchurl, tcl, tk, libX11, glibc }: - -let - libiconvInc = stdenv.lib.optionalString stdenv.isLinux "${glibc}/include"; - libiconvLib = stdenv.lib.optionalString stdenv.isLinux "${glibc}/lib"; -in -stdenv.mkDerivation rec { - name = "tkgate-2.0-b10"; - - src = fetchurl { - url = "http://www.tkgate.org/downloads/${name}.tgz"; - sha256 = "0mr061xcwjmd8nhyjjcw2dzxqi53hv9xym9xsp0cw98knz2skxjf"; - }; - - buildInputs = [ tcl tk libX11 ]; - - dontStrip = true; - - patchPhase = '' - sed -i configure \ - -e 's|TKGATE_INCDIRS=.*|TKGATE_INCDIRS="${tcl}/include ${tk}/include ${libiconvInc}"|' \ - -e 's|TKGATE_LIBDIRS=.*|TKGATE_LIBDIRS="${tcl}/lib ${tk}/lib ${libiconvLib}"|' - sed -i options.h \ - -e 's|.* #define TCL_LIBRARY .*|#define TCL_LIBRARY "${tcl}/${tcl.libdir}"|' \ - -e 's|.* #define TK_LIBRARY .*|#define TK_LIBRARY "${tk}/lib/${tk.libPrefix}"|' - ''; - - meta = { - description = "Event driven digital circuit simulator with a TCL/TK-based graphical editor"; - homepage = "http://www.tkgate.org/"; - license = stdenv.lib.licenses.gpl2Plus; - broken = true; - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e839286b74a1..3575ca407807 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3491,9 +3491,6 @@ let tkgate = callPackage ../applications/science/electronics/tkgate/1.x.nix { }; - # The newer package is low-priority because it segfaults at startup. - tkgate2 = lowPrio (callPackage ../applications/science/electronics/tkgate/2.x.nix { }); - tm = callPackage ../tools/system/tm { }; tradcpp = callPackage ../development/tools/tradcpp { };