Unverified Commit 99f728d5 authored by P's avatar P Committed by GitHub
Browse files

indiepass-desktop: remove (#295882)

parent c4892718
Loading
Loading
Loading
Loading
+0 −58
Original line number Diff line number Diff line
{ 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" ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -489,6 +489,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
+0 −4
Original line number Diff line number Diff line
@@ -32063,10 +32063,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;
  };