From 16c79f5f3011894a4214da4642bfc2381bb76758 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Mon, 3 Jul 2023 23:32:24 -0700 Subject: [PATCH] fitnesstrax: remove since it is gone upstream --- .../applications/misc/fitnesstrax/default.nix | 45 ------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 - 3 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 pkgs/applications/misc/fitnesstrax/default.nix diff --git a/pkgs/applications/misc/fitnesstrax/default.nix b/pkgs/applications/misc/fitnesstrax/default.nix deleted file mode 100644 index ea1dd18d18c8..000000000000 --- a/pkgs/applications/misc/fitnesstrax/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ fetchFromGitHub -, glib -, gtk3 -, lib -, rustPlatform -, wrapGAppsHook -}: - -rustPlatform.buildRustPackage rec { - pname = "fitnesstrax"; - version = "0.1.0"; - - src = fetchFromGitHub { - owner = "luminescent-dreams"; - repo = "fitnesstrax"; - rev = "${pname}-${version}"; - sha256 = "1k6zhnbs0ggx7q0ig2abcnzprsgrychlpvsh6d36dw6mr8zpfkp7"; - }; - - nativeBuildInputs = [ - wrapGAppsHook - glib - gtk3 - ]; - - buildInputs = [ - glib - gtk3 - ]; - - cargoSha256 = "0dlnlb3hqyh98y916wvdb4rd20az73brs8hqna2lgr7kv1pd77j7"; - - postInstall = '' - mkdir -p $out/share/glib-2.0/schemas - cp -r $src/share/* $out/share/ - glib-compile-schemas $out/share/glib-2.0/schemas - ''; - - meta = with lib; { - description = "Privacy-first fitness tracking"; - homepage = "https://github.com/luminescent-dreams/fitnesstrax"; - license = licenses.bsd3; - maintainers = with maintainers; [ savannidgerinel ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 8e12893e27e0..fb0820d82ea7 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -509,6 +509,7 @@ mapAliases ({ firmwareLinuxNonfree = linux-firmware; # Added 2022-01-09 fish-foreign-env = throw "fish-foreign-env has been replaced with fishPlugins.foreign-env"; # Added 2020-12-29, modified 2021-01-10 fishfight = jumpy; # Added 2022-08-03 + fitnesstrax = throw "fitnesstrax was removed from nixpkgs because it disappeared upstream and no longer compiles"; # added 2023-07-04 flameGraph = throw "'flameGraph' has been renamed to/replaced by 'flamegraph'"; # Converted to throw 2022-02-22 flashplayer-standalone-debugger = throw "flashplayer-standalone-debugger has been removed as Adobe Flash Player is now deprecated"; # Added 2021-02-07 flashplayer-standalone = throw "flashplayer-standalone has been removed as Adobe Flash Player is now deprecated"; # Added 2021-02-07 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fd22a2c7655c..3f4c899f8de3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3506,8 +3506,6 @@ with pkgs; fedifetcher = callPackage ../tools/misc/fedifetcher { }; - fitnesstrax = callPackage ../applications/misc/fitnesstrax { }; - flavours = callPackage ../applications/misc/flavours { }; flirc = libsForQt5.callPackage ../applications/video/flirc {