ripcord: clean up after x86_64-darwin drop
This commit is contained in:
@@ -1,38 +0,0 @@
|
||||
{
|
||||
stdenvNoCC,
|
||||
lib,
|
||||
fetchzip,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "ripcord";
|
||||
version = "0.4.29";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://cancel.fm/dl/Ripcord_Mac_${version}.zip";
|
||||
sha256 = "sha256-v8iydjLBjFN5LuctpcBpEkhSICxPhLKzLjSASWtsQok=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
dontFixup = true; # modification is not allowed by the license https://cancel.fm/ripcord/shareware-redistribution/
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/Applications
|
||||
cp -r $src/Ripcord.app $out/Applications/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Desktop chat client for Slack and Discord";
|
||||
homepage = "https://cancel.fm/ripcord/";
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
# See: https://cancel.fm/ripcord/shareware-redistribution/
|
||||
license = lib.licenses.unfreeRedistributable;
|
||||
maintainers = with lib.maintainers; [ mikroskeem ];
|
||||
platforms = [ ];
|
||||
};
|
||||
}
|
||||
@@ -9321,11 +9321,7 @@ with pkgs;
|
||||
|
||||
ringboard-wayland = callPackage ../by-name/ri/ringboard/package.nix { displayServer = "wayland"; };
|
||||
|
||||
ripcord =
|
||||
if stdenv.hostPlatform.isLinux then
|
||||
qt5.callPackage ../applications/networking/instant-messengers/ripcord { }
|
||||
else
|
||||
callPackage ../applications/networking/instant-messengers/ripcord/darwin.nix { };
|
||||
ripcord = qt5.callPackage ../applications/networking/instant-messengers/ripcord { };
|
||||
|
||||
inherit (callPackage ../applications/networking/cluster/rke2 { })
|
||||
rke2_1_33
|
||||
|
||||
Reference in New Issue
Block a user