Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spotify-cli: init at 0.3.12 #284327

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
7 changes: 7 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1132,6 +1132,13 @@
githubId = 24651767;
name = "Felix Andreas";
};
andreivolt = {
email = "[email protected]";
github = "andreivolt";
githubId = 65222;
name = "Andrei Volt";
keys = [{ fingerprint = "FD5C 5856 405F 4AF1 F2C1 CA3C 36D6 CB53 36F6 8AC5"; }];
};
andres = {
email = "[email protected]";
github = "kosmikus";
Expand Down
33 changes: 33 additions & 0 deletions pkgs/by-name/sp/spotify-cli/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{ lib, python3Packages, fetchFromGitHub }:

python3Packages.buildPythonApplication rec {
pname = "spotify-cli";
version = "0.3.12";

src = fetchFromGitHub {
owner = "ledesmablt";
repo = pname;
rev = "v${version}";
hash = "sha256-25eMM63a/axgDXCXah+zxwgXyrFHEciGE97ya49r43c=";
};

propagatedBuildInputs = with python3Packages; [
click
inquirerpy
tabulate
];

preBuild = ''
export RELEASE_VERSION=${version}
'';

doCheck = false; # no tests included

meta = with lib; {
description = "Control Spotify playback on any device through the command line";
homepage = "https://github.com/ledesmablt/spotify-cli";
mainProgram = "spotify-cli";
license = licenses.mit;
maintainers = with maintainers; [ andreivolt ];
};
}
Loading