1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

google-music-scripts: drop

This commit is contained in:
Robert Schütz 2021-03-06 08:44:50 +01:00
parent eb563d8bea
commit 9fc36e1b7f
3 changed files with 1 additions and 61 deletions

View file

@ -1,59 +0,0 @@
{ lib, python3 }:
let
py = python3.override {
packageOverrides = self: super: {
loguru = super.loguru.overridePythonAttrs (oldAttrs: rec {
version = "0.4.0";
src = oldAttrs.src.override {
inherit version;
sha256 = "0j47cg3gi8in4z6z4w3by6x02mpkkfl78gr85xjn5rg0nxiz7pfm";
};
});
};
};
in
with py.pkgs;
buildPythonApplication rec {
pname = "google-music-scripts";
version = "4.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "0apwgj86whrc077dfymvyb4qwj19bawyrx49g4kg364895v0rbbq";
};
# there are already later releases present
postPatch = ''
substituteInPlace setup.py \
--replace "tomlkit>=0.5,<0.6" "tomlkit" \
--replace "attrs>=18.2,<19.4" "attrs"
'';
propagatedBuildInputs = [
appdirs
audio-metadata
google-music
google-music-proto
google-music-utils
loguru
pendulum
natsort
tomlkit
];
# No tests
checkPhase = ''
$out/bin/gms --help >/dev/null
'';
meta = with lib; {
homepage = "https://github.com/thebigmunch/google-music-scripts";
description = "A CLI utility for interacting with Google Music";
license = licenses.mit;
maintainers = with maintainers; [ jakewaksbaum ];
};
}

View file

@ -259,6 +259,7 @@ mapAliases ({
goimports = gotools; # added 2018-09-16
gometalinter = throw "gometalinter was abandoned by upstream. Consider switching to golangci-lint instead"; # added 2020-04-23
google-gflags = gflags; # added 2019-07-25
google-music-scripts = throw "google-music-scripts has been removed because Google Play Music was discontinued"; # added 2021-03-07
googleAuthenticator = google-authenticator; # added 2016-10-16
grantlee5 = libsForQt5.grantlee; # added 2015-12-19
gsettings_desktop_schemas = gsettings-desktop-schemas; # added 2018-02-25

View file

@ -4875,8 +4875,6 @@ in
google-compute-engine-oslogin = callPackage ../tools/virtualization/google-compute-engine-oslogin { };
google-music-scripts = callPackage ../tools/audio/google-music-scripts { };
google-cloud-cpp = callPackage ../development/libraries/google-cloud-cpp { };
gdown = with python3Packages; toPythonApplication gdown;