Merge pull request #292967 from Aleksanaa/netease-music-tui

netease-music-tui: remove
This commit is contained in:
Nick Cao 2024-03-03 10:08:21 -05:00 committed by GitHub
commit 3aaf42d4e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 1 additions and 2831 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,34 +0,0 @@
{ fetchFromGitHub, rustPlatform, lib, alsa-lib, pkg-config, openssl }:
rustPlatform.buildRustPackage rec {
pname = "netease-music-tui";
version = "0.1.5";
src = fetchFromGitHub {
owner = "betta-cyber";
repo = "netease-music-tui";
rev = "v${version}";
sha256 = "sha256-+zRXihWg65DtyX3yD04CsW8aXIvNph36PW2veeg36lg=";
};
cargoLock = {
lockFile = ./Cargo.lock;
};
postPatch = ''
ln -s ${./Cargo.lock} Cargo.lock
'';
nativeBuildInputs = [ pkg-config ];
buildInputs = [ alsa-lib openssl ];
cargoSha256 = "sha256-i+W/KwnqdaHcrdaWYUuCUeFlRKekVuEvFh/pxDolPNU=";
meta = with lib; {
homepage = "https://github.com/betta-cyber/netease-music-tui";
description = "netease cloud music terminal client by rust";
maintainers = with maintainers; [ vonfry ];
license = licenses.mit;
mainProgram = "ncmt";
};
}

View file

@ -1,17 +0,0 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p coreutils gnugrep git cargo
# This updates cargo-lock.patch for the netease-music-tui version listed in
# default.nix.
set -euo pipefail
here=$(dirname "$0")
version=$(grep '^ version = "' "$here/default.nix" | cut -d '"' -f 2)
checkout=$(mktemp -d)
git clone -b "v$version" --depth=1 https://github.com/betta-cyber/netease-music-tui "$checkout"
cargo generate-lockfile --manifest-path "$checkout/Cargo.toml"
cp "$checkout/Cargo.lock" "$here"
rm -rf "$checkout"

View file

@ -748,6 +748,7 @@ mapAliases ({
net_snmp = throw "'net_snmp' has been renamed to/replaced by 'net-snmp'"; # Converted to throw 2023-09-10
netbox_3_3 = throw "netbox 3.3 series has been removed as it was EOL"; # Added 2023-09-02
netbox_3_5 = throw "netbox 3.5 series has been removed as it was EOL"; # Added 2024-01-22
netease-music-tui = throw "netease-music-tui has been removed due to unmaintained by upstream and broken functionality"; # Added 2024-03-03
nextcloud25 = throw ''
Nextcloud v25 has been removed from `nixpkgs` as the support for is dropped
by upstream in 2023-10. Please upgrade to at least Nextcloud v26 by declaring

View file

@ -29388,8 +29388,6 @@ with pkgs;
national-park-typeface = callPackage ../data/fonts/national-park { };
netease-music-tui = callPackage ../applications/audio/netease-music-tui { };
nordic = libsForQt5.callPackage ../data/themes/nordic { };
nordzy-cursor-theme = callPackage ../data/icons/nordzy-cursor-theme { };