diff --git a/nixos/doc/manual/release-notes/rl-2411.section.md b/nixos/doc/manual/release-notes/rl-2411.section.md index 95d7e5f907f7..5deb33eeb99f 100644 --- a/nixos/doc/manual/release-notes/rl-2411.section.md +++ b/nixos/doc/manual/release-notes/rl-2411.section.md @@ -767,6 +767,8 @@ rather than dotnet 6. For packages that still need dotnet 6, use `dotnet-sdk_6`, etc. +- torq has been removed because upstreamed went closed source. + ## Other Notable Changes {#sec-release-24.11-notable-changes} diff --git a/pkgs/by-name/to/torq/package.nix b/pkgs/by-name/to/torq/package.nix deleted file mode 100644 index 7518508f64b1..000000000000 --- a/pkgs/by-name/to/torq/package.nix +++ /dev/null @@ -1,61 +0,0 @@ -{ lib -, buildGoModule -, buildNpmPackage -, fetchFromGitHub -}: - -let - pname = "torq"; - version = "0.18.19"; - - src = fetchFromGitHub { - owner = "lncapital"; - repo = pname; - rev = "v${version}"; - hash = "sha256-qJIAH8SrB5a7j6ptorEm6fryZj63vDQIUQIgRsVn1us="; - }; - - web = buildNpmPackage { - pname = "${pname}-frontend"; - inherit version; - src = "${src}/web"; - npmDepsHash = "sha256-WulYJE2pdVa5hquV/7UjR1z9PkglJXOq5fv8nLa4wos="; - - # copied from upstream Dockerfile - npmInstallFlags = [ "--legacy-peer-deps" ]; - TSX_COMPILE_ON_ERROR="true"; - ESLINT_NO_DEV_ERRORS="true"; - - # override npmInstallHook, we only care about the build/ directory - installPhase = '' - mkdir $out - cp -r build/* $out/ - ''; - }; -in -buildGoModule rec { - inherit pname version src; - - vendorHash = "sha256-bvisI589Gq9IdyJEqI+uzs3iDPOTUkq95P3n/KoFhF0="; - - subPackages = [ "cmd/torq" ]; - - ldflags = [ - "-s" - "-w" - "-X github.com/lncapital/torq/build.version=v${version}" - ]; - - postInstall = '' - mkdir -p $out/web/build - cp -r ${web}/* $out/web/build/ - ''; - - meta = with lib; { - description = "Capital management tool for lightning network nodes"; - license = licenses.mit; - homepage = "https://github.com/lncapital/torq"; - maintainers = with maintainers; [ mmilata prusnak ]; - mainProgram = "torq"; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index fcf2aa78d7f4..4b2e4ee7f9fe 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1228,6 +1228,7 @@ mapAliases { tokyo-night-gtk = tokyonight-gtk-theme; # Added 2024-01-28 tomcat_connectors = apacheHttpdPackages.mod_jk; # Added 2024-06-07 tor-browser-bundle-bin = tor-browser; # Added 2023-09-23 + torq = throw "torq has been removed because the project went closed source"; # Added 2024-11-24 transmission = lib.warn (transmission3Warning {}) transmission_3; # Added 2024-06-10 transmission-gtk = lib.warn (transmission3Warning {suffix = "-gtk";}) transmission_3-gtk; # Added 2024-06-10 transmission-qt = lib.warn (transmission3Warning {suffix = "-qt";}) transmission_3-qt; # Added 2024-06-10