Merge pull request #259889 from MikaelFangel/drop-simplenote

simplenote: drop

authored by

Weijia Wang and committed by
GitHub
493c4e6a 904d4b9d

+1 -112
-110
pkgs/applications/misc/simplenote/default.nix
··· 1 - { autoPatchelfHook 2 - , dpkg 3 - , fetchurl 4 - , makeDesktopItem 5 - , makeWrapper 6 - , lib 7 - , stdenv 8 - , udev 9 - , alsa-lib 10 - , mesa 11 - , nss 12 - , nspr 13 - , systemd 14 - , wrapGAppsHook 15 - , xorg 16 - }: 17 - 18 - let 19 - inherit (stdenv.hostPlatform) system; 20 - 21 - throwSystem = throw "Unsupported system: ${system}"; 22 - 23 - pname = "simplenote"; 24 - 25 - version = "2.9.0"; 26 - 27 - sha256 = { 28 - x86_64-linux = "sha256-uwd9fYqZepJ/BBttprqkJhswqMepGsHDTd5Md9gjI68="; 29 - }.${system} or throwSystem; 30 - 31 - meta = with lib; { 32 - description = "The simplest way to keep notes"; 33 - homepage = "https://github.com/Automattic/simplenote-electron"; 34 - license = licenses.gpl2; 35 - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 36 - maintainers = with maintainers; [ 37 - kiwi 38 - ]; 39 - platforms = [ 40 - "x86_64-linux" 41 - ]; 42 - }; 43 - 44 - linux = stdenv.mkDerivation rec { 45 - inherit pname version meta; 46 - 47 - src = fetchurl { 48 - url = "https://github.com/Automattic/simplenote-electron/releases/download/v${version}/Simplenote-linux-${version}-amd64.deb"; 49 - inherit sha256; 50 - }; 51 - 52 - desktopItem = makeDesktopItem { 53 - categories = [ "Development" ]; 54 - comment = "Simplenote for Linux"; 55 - desktopName = "Simplenote"; 56 - exec = "simplenote %U"; 57 - icon = "simplenote"; 58 - name = "simplenote"; 59 - startupNotify = true; 60 - }; 61 - 62 - dontBuild = true; 63 - dontConfigure = true; 64 - dontPatchELF = true; 65 - dontWrapGApps = true; 66 - 67 - # TODO: migrate off autoPatchelfHook and use nixpkgs' electron 68 - nativeBuildInputs = [ 69 - autoPatchelfHook 70 - dpkg 71 - makeWrapper 72 - wrapGAppsHook 73 - ]; 74 - 75 - buildInputs = [ 76 - alsa-lib 77 - mesa 78 - xorg.libXScrnSaver 79 - xorg.libXtst 80 - nss 81 - nspr 82 - stdenv.cc.cc 83 - systemd 84 - ]; 85 - 86 - unpackPhase = "dpkg-deb -x $src ."; 87 - 88 - installPhase = '' 89 - mkdir -p "$out/bin" 90 - cp -R "opt" "$out" 91 - cp -R "usr/share" "$out/share" 92 - chmod -R g-w "$out" 93 - 94 - mkdir -p "$out/share/applications" 95 - cp "${desktopItem}/share/applications/"* "$out/share/applications" 96 - ''; 97 - 98 - runtimeDependencies = [ 99 - (lib.getLib udev) 100 - ]; 101 - 102 - postFixup = '' 103 - makeWrapper $out/opt/Simplenote/simplenote $out/bin/simplenote \ 104 - --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc ] }" \ 105 - "''${gappsWrapperArgs[@]}" 106 - ''; 107 - }; 108 - 109 - in 110 - linux
+1
pkgs/top-level/aliases.nix
··· 798 798 shhgit = throw "shhgit is broken and is no longer maintained. See https://github.com/eth0izzle/shhgit#-shhgit-is-no-longer-maintained-" ; # Added 2023-08-08 799 799 shipyard = jumppad; # Added 2023-06-06 800 800 signumone-ks = throw "signumone-ks has been removed from nixpkgs because the developers stopped offering the binaries"; # Added 2023-08-17 801 + simplenote = throw "'simplenote' has been removed because it is no longer maintained and insecure"; # Added 2023-10-09 801 802 slack-dark = slack; # Added 2020-03-27 802 803 slmenu = throw "slmenu has been removed (upstream is gone)"; # Added 2023-04-06 803 804 slurm-llnl = slurm; # renamed July 2017
-2
pkgs/top-level/all-packages.nix
··· 41661 41661 41662 41662 fpm2 = callPackage ../tools/security/fpm2 { }; 41663 41663 41664 - simplenote = callPackage ../applications/misc/simplenote { }; 41665 - 41666 41664 hy = with python3Packages; toPythonApplication hy; 41667 41665 41668 41666 wmic-bin = callPackage ../servers/monitoring/plugins/wmic-bin.nix { };