mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
soulseekqt: drop (#414632)
This commit is contained in:
commit
9c0c802f4f
3 changed files with 1 additions and 70 deletions
|
@ -1,68 +0,0 @@
|
||||||
{
|
|
||||||
stdenv,
|
|
||||||
lib,
|
|
||||||
fetchzip,
|
|
||||||
mkDerivation,
|
|
||||||
appimageTools,
|
|
||||||
autoPatchelfHook,
|
|
||||||
desktop-file-utils,
|
|
||||||
imagemagick,
|
|
||||||
qtmultimedia,
|
|
||||||
}:
|
|
||||||
|
|
||||||
mkDerivation rec {
|
|
||||||
pname = "soulseekqt";
|
|
||||||
version = "2018-1-30";
|
|
||||||
|
|
||||||
src = fetchzip {
|
|
||||||
url = "https://www.slsknet.org/SoulseekQt/Linux/SoulseekQt-${version}-64bit-appimage.tgz";
|
|
||||||
sha256 = "16ncnvv8h33f161mgy7qc0wjvvqahsbwvby65qhgfh9pbbgb4xgg";
|
|
||||||
};
|
|
||||||
|
|
||||||
appextracted = appimageTools.extractType2 {
|
|
||||||
inherit pname version;
|
|
||||||
src = "${src}/SoulseekQt-2018-1-30-64bit.AppImage";
|
|
||||||
};
|
|
||||||
|
|
||||||
dontBuild = true;
|
|
||||||
dontConfigure = true;
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
imagemagick
|
|
||||||
autoPatchelfHook
|
|
||||||
desktop-file-utils
|
|
||||||
];
|
|
||||||
buildInputs = [
|
|
||||||
qtmultimedia
|
|
||||||
stdenv.cc.cc
|
|
||||||
];
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
binary="$(realpath ${appextracted}/AppRun)"
|
|
||||||
install -Dm755 $binary -t $out/bin
|
|
||||||
|
|
||||||
# fixup and install desktop file
|
|
||||||
desktop-file-install --dir $out/share/applications \
|
|
||||||
--set-key Exec --set-value SoulseekQt \
|
|
||||||
--set-key Terminal --set-value false \
|
|
||||||
--set-key Comment --set-value "${meta.description}" \
|
|
||||||
--set-key Categories --set-value Network ${appextracted}/default.desktop
|
|
||||||
mv $out/share/applications/default.desktop $out/share/applications/SoulseekQt.desktop
|
|
||||||
#TODO: write generic code to read icon path from $binary.desktop
|
|
||||||
icon="$(realpath ${appextracted}/.DirIcon)"
|
|
||||||
for size in 16 32 48 64 72 96 128 192 256 512 1024; do
|
|
||||||
mkdir -p $out/share/icons/hicolor/"$size"x"$size"/apps
|
|
||||||
convert -resize "$size"x"$size" $icon $out/share/icons/hicolor/"$size"x"$size"/apps/$(basename $icon)
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Official Qt SoulSeek client";
|
|
||||||
homepage = "https://www.slsknet.org";
|
|
||||||
mainProgram = "SoulseekQt";
|
|
||||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
|
||||||
license = licenses.unfree;
|
|
||||||
maintainers = [ ];
|
|
||||||
platforms = [ "x86_64-linux" ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1769,6 +1769,7 @@ mapAliases {
|
||||||
snapTools = throw "snapTools was removed because makeSnap produced broken snaps and it was the only function in snapTools. See https://github.com/NixOS/nixpkgs/issues/100618 for more details."; # 2024-03-04;
|
snapTools = throw "snapTools was removed because makeSnap produced broken snaps and it was the only function in snapTools. See https://github.com/NixOS/nixpkgs/issues/100618 for more details."; # 2024-03-04;
|
||||||
snort2 = throw "snort2 has been removed as it is deprecated and unmaintained by upstream. Consider using snort (snort3) package instead."; # 2025-05-21
|
snort2 = throw "snort2 has been removed as it is deprecated and unmaintained by upstream. Consider using snort (snort3) package instead."; # 2025-05-21
|
||||||
soldat-unstable = opensoldat; # Added 2022-07-02
|
soldat-unstable = opensoldat; # Added 2022-07-02
|
||||||
|
soulseekqt = throw "'soulseekqt' has been removed due to lack of maintenance in Nixpkgs in a long time. Consider using 'nicotine-plus' or 'slskd' instead."; # Added 2025-06-07
|
||||||
soundOfSorting = sound-of-sorting; # Added 2023-07-07
|
soundOfSorting = sound-of-sorting; # Added 2023-07-07
|
||||||
SP800-90B_EntropyAssessment = sp800-90b-entropyassessment; # Added on 2024-06-12
|
SP800-90B_EntropyAssessment = sp800-90b-entropyassessment; # Added on 2024-06-12
|
||||||
SPAdes = spades; # Added 2024-06-12
|
SPAdes = spades; # Added 2024-06-12
|
||||||
|
|
|
@ -13997,8 +13997,6 @@ with pkgs;
|
||||||
|
|
||||||
sonic-visualiser = libsForQt5.callPackage ../applications/audio/sonic-visualiser { };
|
sonic-visualiser = libsForQt5.callPackage ../applications/audio/sonic-visualiser { };
|
||||||
|
|
||||||
soulseekqt = libsForQt5.callPackage ../applications/networking/p2p/soulseekqt { };
|
|
||||||
|
|
||||||
spek = callPackage ../applications/audio/spek {
|
spek = callPackage ../applications/audio/spek {
|
||||||
autoreconfHook = buildPackages.autoreconfHook269;
|
autoreconfHook = buildPackages.autoreconfHook269;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue