gometer: remove

This commit is contained in:
P. R. d. O 2023-02-10 15:59:24 -06:00 committed by Rick van Schijndel
parent 474df7ca08
commit f831445c5d
3 changed files with 1 additions and 50 deletions

View file

@ -1,48 +0,0 @@
{ lib, stdenv, fetchurl, rpmextract, wrapGAppsHook, nwjs }:
stdenv.mkDerivation rec {
pname = "gometer";
version = "5.2.0";
src = fetchurl {
url = "https://gometer-prod-new-apps.s3-accelerate.amazonaws.com/${version}/goMeter-linux64.rpm";
sha256 = "sha256-E53sVvneW2EMPz9HNCgbGuHnDlVihE+Lf+DkFIP+j28=";
};
nativeBuildInputs = [
rpmextract
wrapGAppsHook
];
dontBuild = true;
dontConfigure = true;
unpackPhase = ''
rpmextract ${src}
'';
installPhase = ''
runHook preInstall
mv usr $out
mv opt $out
mkdir $out/share/applications
mv $out/opt/goMeter/goMeter.desktop $out/share/applications/gometer.desktop
substituteInPlace $out/share/applications/gometer.desktop \
--replace '/opt/goMeter/' ""
makeWrapper ${nwjs}/bin/nw $out/bin/goMeter \
--add-flags $out/opt/goMeter/package.nw
runHook postInstall
'';
meta = with lib; {
description = "Analytic-Tracking tool for GoLance";
homepage = "https://golance.com/download-gometer";
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.unfree;
maintainers = with maintainers; [ wolfangaukang ];
};
}

View file

@ -582,6 +582,7 @@ mapAliases ({
go-mk = throw "go-mk has been dropped due to the lack of maintanence from upstream since 2015"; # Added 2022-06-02
go-pup = throw "'go-pup' has been renamed to/replaced by 'pup'"; # Converted to throw 2022-02-22
go-repo-root = throw "go-repo-root has been dropped due to the lack of maintanence from upstream since 2014"; # Added 2022-06-02
gometer = throw "gometer has been removed from nixpkgs because goLance stopped offering Linux support"; # Added 2023-02-10
gpgstats = throw "gpgstats has been removed: upstream is gone"; # Added 2022-02-06
gpshell = throw "gpshell has been removed, because it was unmaintained in nixpkgs"; # added 2021-12-17

View file

@ -25803,8 +25803,6 @@ with pkgs;
gmailctl = callPackage ../applications/networking/gmailctl { };
gometer = callPackage ../applications/misc/gometer { };
gomp = callPackage ../applications/version-management/gomp { };
gomplate = callPackage ../development/tools/gomplate { };