From b116e88556d80ae6ba0d44ca3de384ba2520e8bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20=C8=98erb=C4=83nescu?= Date: Mon, 17 Jan 2022 15:40:48 +0100 Subject: [PATCH] split2flac: removed --- .../applications/audio/split2flac/default.nix | 62 ------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 4 -- 3 files changed, 1 insertion(+), 66 deletions(-) delete mode 100644 pkgs/applications/audio/split2flac/default.nix diff --git a/pkgs/applications/audio/split2flac/default.nix b/pkgs/applications/audio/split2flac/default.nix deleted file mode 100644 index 5de48d1b296..00000000000 --- a/pkgs/applications/audio/split2flac/default.nix +++ /dev/null @@ -1,62 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, makeWrapper -, shntool, cuetools -, flac, faac, mp4v2, wavpack, mac -, imagemagick, libiconv, enca, lame, mutagen, vorbis-tools -, aacgain, mp3gain, vorbisgain -}: - -let - wrapSplit2flac = format: '' - makeWrapper $out/bin/.split2flac-wrapped $out/bin/split2${format} \ - --set SPLIT2FLAC_FORMAT ${format} \ - --prefix PATH : ${lib.makeBinPath [ - shntool cuetools - flac faac mp4v2 wavpack mac - imagemagick libiconv enca lame mutagen vorbis-tools - aacgain mp3gain vorbisgain - ]} - ''; - -in stdenv.mkDerivation rec { - pname = "split2flac"; - version = "122"; - - src = fetchFromGitHub { - owner = "ftrvxmtrx"; - repo = "split2flac"; - rev = version; - sha256 = "1a71amamip25hhqx7wwzfcl3d5snry9xsiha0kw73iq2m83r2k63"; - }; - - dontBuild = true; - - nativeBuildInputs = [ makeWrapper ]; - - patchPhase = '' - substituteInPlace split2flac \ - --replace 'FORMAT="''${0##*split2}"' 'FORMAT=''${SPLIT2FLAC_FORMAT:-flac}' - ''; - - installPhase = '' - mkdir -p $out/share/bash-completion/completions - cp split2flac-bash-completion.sh \ - $out/share/bash-completion/completions/split2flac-bash-completion.sh - - mkdir -p $out/bin - cp split2flac $out/bin/.split2flac-wrapped - - ${wrapSplit2flac "flac"} - ${wrapSplit2flac "mp3"} - ${wrapSplit2flac "ogg"} - ${wrapSplit2flac "m4a"} - ${wrapSplit2flac "wav"} - ''; - - meta = with lib; { - description = "Split flac/ape/wv/wav + cue sheet into separate tracks"; - homepage = "https://github.com/ftrvxmtrx/split2flac"; - license = licenses.mit; - platforms = platforms.all; - maintainers = with maintainers; [ jfrankenau ]; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index d44822c31c9..c0980a97dab 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1240,6 +1240,7 @@ mapAliases ({ spidermonkey_68 = throw "spidermonkey_68 has been removed. Please use spidermonkey_91 instead"; # added 2022-01-04 # spidermonkey is not ABI upwards-compatible, so only allow this for nix-shell spidermonkey = spidermonkey_78; # Added 2020-10-09 + split2flac = throw "split2flac has been removed. Consider using the shnsplit command from shntool package or help packaging unflac."; # added 2022-01-13 spring-boot = spring-boot-cli; # added 2020-04-24 sqlite3_analyzer = throw "'sqlite3_analyzer' has been renamed to/replaced by 'sqlite-analyzer'"; # Converted to throw 2022-02-22 sqliteInteractive = throw "'sqliteInteractive' has been renamed to/replaced by 'sqlite-interactive'"; # Converted to throw 2022-02-22 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 369f864df22..64f9b277566 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -29502,10 +29502,6 @@ with pkgs; spideroak = callPackage ../applications/networking/spideroak { }; - split2flac = callPackage ../applications/audio/split2flac { - inherit (python3.pkgs) mutagen; - }; - spotify-qt = libsForQt5.callPackage ../applications/audio/spotify-qt { }; spotify-tray = callPackage ../applications/misc/spotify-tray { };