From c664f5be6c383691dfc95a35f4641d84e9350009 Mon Sep 17 00:00:00 2001 From: "P." Date: Thu, 14 Mar 2024 07:17:59 -0600 Subject: [PATCH] indiepass-desktop: remove --- pkgs/by-name/in/indiepass-desktop/package.nix | 58 ------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 4 -- 3 files changed, 1 insertion(+), 62 deletions(-) delete mode 100644 pkgs/by-name/in/indiepass-desktop/package.nix diff --git a/pkgs/by-name/in/indiepass-desktop/package.nix b/pkgs/by-name/in/indiepass-desktop/package.nix deleted file mode 100644 index b028755fa67a0..0000000000000 --- a/pkgs/by-name/in/indiepass-desktop/package.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ lib -, buildNpmPackage -, fetchFromGitHub -, makeDesktopItem -, copyDesktopItems -, makeWrapper -, electron -}: - -buildNpmPackage rec { - pname = "indiepass-desktop"; - version = "1.4.0-unstable-2023-05-19"; - - src = fetchFromGitHub { - owner = "indiepass"; - repo = "indiepass-desktop"; - rev = "751660324d6bfc6f95af08bf9bc92e892841f2b2"; - hash = "sha256-cQqL8eNb23NFMWrK9xh6bZcr0EoYbyJiid+xXQRPqMk="; - }; - - npmDepsHash = "sha256-gp77eDxturBib0JRNVNSd+nDxQyVTJVKEj4ydB7eICE="; - - env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1"; - - dontNpmBuild = true; - - desktopItems = [ - (makeDesktopItem { - name = pname; - exec = "indiepass"; - icon = "indiepass"; - comment = meta.description; - desktopName = "Indiepass"; - genericName = "Feed Reader"; - }) - ]; - - nativeBuildInputs = [ - copyDesktopItems - makeWrapper - ]; - - postInstall = '' - install -Dm 644 $out/lib/node_modules/indiepass/images/icon.png $out/share/pixmaps/indiepass.png - - makeWrapper ${electron}/bin/electron $out/bin/indiepass \ - --add-flags $out/lib/node_modules/indiepass/main.js - ''; - - meta = with lib; { - description = "IndieWeb app with extensions for sharing to/reading from micropub endpoints"; - homepage = "https://github.com/IndiePass/indiepass-desktop"; - license = licenses.gpl3Only; - maintainers = with maintainers; [ wolfangaukang ]; - mainProgram = "indiepass"; - platforms = [ "x86_64-linux" ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 4441c11fd289c..3f07723f98275 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -447,6 +447,7 @@ mapAliases ({ imagemagick7 = imagemagick; # Added 2021-02-22 imagemagick7_light = imagemagick_light; # Added 2021-02-22 imlib = throw "imlib has been dropped due to the lack of maintenance from upstream since 2004"; # Added 2023-01-04 + indiepass-desktop = throw "indiepass-desktop has been dropped because it does not work with recent Electron versions"; # Added 2024-03-14 indigenous-desktop = throw "'indigenous-desktop' has been renamed to/replaced by 'indiepass-desktop'"; # Added 2023-11-08 instead-launcher = throw "instead-launcher has been removed, because it depended on qt4"; # Added 2023-07-26 insync-v3 = throw "insync-v3 has been merged into the insync package; use insync instead"; #Added 2023-05-13 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 72f85a791b5bd..d889dfd6cc75c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32284,10 +32284,6 @@ with pkgs; hypnotix = callPackage ../applications/video/hypnotix { }; - indiepass-desktop = callPackage ../by-name/in/indiepass-desktop/package.nix { - electron = electron_19; - }; - jackline = callPackage ../applications/networking/instant-messengers/jackline { ocamlPackages = ocaml-ng.ocamlPackages_4_14; };