Loading pkgs/applications/science/electronics/tkgate/1.x.nixdeleted 100644 → 0 +0 −68 Original line number Diff line number Diff line { lib, stdenv, fetchurl, tcl, tk, libX11, glibc, which, bison, flex, imake, xorgproto, gccmakedep, }: let libiconvInc = lib.optionalString stdenv.hostPlatform.isLinux "${glibc.dev}/include"; libiconvLib = lib.optionalString stdenv.hostPlatform.isLinux "${glibc.out}/lib"; in stdenv.mkDerivation rec { pname = "tkgate"; version = "1.8.7"; src = fetchurl { url = "https://www.tkgate.org/downloads/tkgate-${version}.tgz"; sha256 = "1pqywkidfpdbj18i03h97f4cimld4fb3mqfy8jjsxs12kihm18fs"; }; nativeBuildInputs = [ which bison flex imake gccmakedep ]; buildInputs = [ tcl tk libX11 xorgproto ]; dontUseImakeConfigure = true; patchPhase = '' sed -i config.h \ -e 's|.*#define.*TKGATE_TCLTK_VERSIONS.*|#define TKGATE_TCLTK_VERSIONS "${tcl.release}"|' \ -e 's|.*#define.*TKGATE_INCDIRS.*|#define TKGATE_INCDIRS "${tcl}/include ${tk}/include ${libiconvInc} ${libX11.dev}/include"|' \ -e 's|.*#define.*TKGATE_LIBDIRS.*|#define TKGATE_LIBDIRS "${tcl}/lib ${tk}/lib ${libiconvLib} ${libX11.out}/lib"|' \ \ -e '20 i #define TCL_LIBRARY "${tcl}/lib"' \ -e '20 i #define TK_LIBRARY "${tk}/lib/${tk.libPrefix}"' \ -e '20 i #define USE_ICONV 1' \ \ -e "s|.*#define.*TKGATE_HOMEDIRBASE.*|#define TKGATE_HOMEDIRBASE \\\"$out/lib\\\"|" \ -e "s|.*#define.*TKGATE_BINDIR.*|#define TKGATE_BINDIR \\\"$out/bin\\\"|" \ -e "s|.*#define.*TKGATE_MANDIR.*|#define TKGATE_MANDIR \\\"$out/share/man/man1\\\"|" \ -e "s|file:/usr/X11R6/lib/tkgate-|file://$out/lib/tkgate-|" ''; meta = { description = "Event driven digital circuit simulator with a TCL/TK-based graphical editor"; mainProgram = "gmac"; homepage = "https://www.tkgate.org/"; license = lib.licenses.gpl2Plus; hydraPlatforms = lib.platforms.linux; }; } pkgs/top-level/aliases.nix +1 −0 Original line number Diff line number Diff line Loading @@ -1845,6 +1845,7 @@ mapAliases { timelens = throw "'timelens' has been removed due to lack of upstream maintenance"; # Added 2025-01-25 tix = tclPackages.tix; # Added 2024-10-02 tkcvs = tkrev; # Added 2022-03-07 tkgate = "'tkgate' has been removed as it is unmaintained"; # Added 2025-05-17 tkimg = tclPackages.tkimg; # Added 2024-10-02 todiff = "'todiff' was removed due to lack of known users"; # Added 2025-01-25 toil = throw "toil was removed as it was broken and requires obsolete versions of libraries"; # Added 2024-09-22 Loading pkgs/top-level/all-packages.nix +0 −2 Original line number Diff line number Diff line Loading @@ -4729,8 +4729,6 @@ with pkgs; tweet-hs = haskell.lib.compose.justStaticExecutables haskellPackages.tweet-hs; tkgate = callPackage ../applications/science/electronics/tkgate/1.x.nix { }; tremor-rs = callPackage ../tools/misc/tremor-rs { }; tremor-language-server = callPackage ../tools/misc/tremor-rs/ls.nix { }; Loading Loading
pkgs/applications/science/electronics/tkgate/1.x.nixdeleted 100644 → 0 +0 −68 Original line number Diff line number Diff line { lib, stdenv, fetchurl, tcl, tk, libX11, glibc, which, bison, flex, imake, xorgproto, gccmakedep, }: let libiconvInc = lib.optionalString stdenv.hostPlatform.isLinux "${glibc.dev}/include"; libiconvLib = lib.optionalString stdenv.hostPlatform.isLinux "${glibc.out}/lib"; in stdenv.mkDerivation rec { pname = "tkgate"; version = "1.8.7"; src = fetchurl { url = "https://www.tkgate.org/downloads/tkgate-${version}.tgz"; sha256 = "1pqywkidfpdbj18i03h97f4cimld4fb3mqfy8jjsxs12kihm18fs"; }; nativeBuildInputs = [ which bison flex imake gccmakedep ]; buildInputs = [ tcl tk libX11 xorgproto ]; dontUseImakeConfigure = true; patchPhase = '' sed -i config.h \ -e 's|.*#define.*TKGATE_TCLTK_VERSIONS.*|#define TKGATE_TCLTK_VERSIONS "${tcl.release}"|' \ -e 's|.*#define.*TKGATE_INCDIRS.*|#define TKGATE_INCDIRS "${tcl}/include ${tk}/include ${libiconvInc} ${libX11.dev}/include"|' \ -e 's|.*#define.*TKGATE_LIBDIRS.*|#define TKGATE_LIBDIRS "${tcl}/lib ${tk}/lib ${libiconvLib} ${libX11.out}/lib"|' \ \ -e '20 i #define TCL_LIBRARY "${tcl}/lib"' \ -e '20 i #define TK_LIBRARY "${tk}/lib/${tk.libPrefix}"' \ -e '20 i #define USE_ICONV 1' \ \ -e "s|.*#define.*TKGATE_HOMEDIRBASE.*|#define TKGATE_HOMEDIRBASE \\\"$out/lib\\\"|" \ -e "s|.*#define.*TKGATE_BINDIR.*|#define TKGATE_BINDIR \\\"$out/bin\\\"|" \ -e "s|.*#define.*TKGATE_MANDIR.*|#define TKGATE_MANDIR \\\"$out/share/man/man1\\\"|" \ -e "s|file:/usr/X11R6/lib/tkgate-|file://$out/lib/tkgate-|" ''; meta = { description = "Event driven digital circuit simulator with a TCL/TK-based graphical editor"; mainProgram = "gmac"; homepage = "https://www.tkgate.org/"; license = lib.licenses.gpl2Plus; hydraPlatforms = lib.platforms.linux; }; }
pkgs/top-level/aliases.nix +1 −0 Original line number Diff line number Diff line Loading @@ -1845,6 +1845,7 @@ mapAliases { timelens = throw "'timelens' has been removed due to lack of upstream maintenance"; # Added 2025-01-25 tix = tclPackages.tix; # Added 2024-10-02 tkcvs = tkrev; # Added 2022-03-07 tkgate = "'tkgate' has been removed as it is unmaintained"; # Added 2025-05-17 tkimg = tclPackages.tkimg; # Added 2024-10-02 todiff = "'todiff' was removed due to lack of known users"; # Added 2025-01-25 toil = throw "toil was removed as it was broken and requires obsolete versions of libraries"; # Added 2024-09-22 Loading
pkgs/top-level/all-packages.nix +0 −2 Original line number Diff line number Diff line Loading @@ -4729,8 +4729,6 @@ with pkgs; tweet-hs = haskell.lib.compose.justStaticExecutables haskellPackages.tweet-hs; tkgate = callPackage ../applications/science/electronics/tkgate/1.x.nix { }; tremor-rs = callPackage ../tools/misc/tremor-rs { }; tremor-language-server = callPackage ../tools/misc/tremor-rs/ls.nix { }; Loading