spotify-player: init at 0.10.0

This commit is contained in:
Mostly Void 2023-01-30 20:59:49 +05:30
parent 28065fed29
commit ffc15c7060
No known key found for this signature in database
GPG key ID: E2B7342D0CAA82C2
2 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,52 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
, cmake
, alsa-lib
, dbus
, fontconfig
}:
rustPlatform.buildRustPackage rec {
pname = "spotify-player";
version = "0.10.0";
src = fetchFromGitHub {
owner = "aome510";
repo = pname;
rev = "v${version}";
sha256 = "sha256-bHPWpx8EJibr2kNuzuGAQPZ0DE6qeJwIRYDy+NFS/PQ=";
};
cargoSha256 = "sha256-QeQ3PYI5RmbJ+VQ9hLSTXgQXVVoID5zbRqSTrbWzVy8=";
nativeBuildInputs = [
pkg-config
cmake
];
buildInputs = [
openssl
alsa-lib
dbus
fontconfig
];
buildNoDefaultFeatures = true;
buildFeatures = [
"rodio-backend"
"media-control"
"image"
"lyric-finder"
];
meta = with lib; {
description = "A command driven spotify player";
homepage = "https://github.com/aome510/spotify-player";
license = licenses.mit;
maintainers = with maintainers; [ dit7ya ];
};
}

View file

@ -32816,6 +32816,8 @@ with pkgs;
spotify = callPackage ../applications/audio/spotify { };
spotify-player = callPackage ../applications/audio/spotify-player { };
spotifywm = callPackage ../applications/audio/spotifywm { };
psst = callPackage ../applications/audio/psst { };