torq: drop (#358683)
This commit is contained in:
commit
1dc3b902a6
@ -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}
|
||||
|
||||
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
||||
|
@ -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";
|
||||
};
|
||||
}
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user