Merge pull request #151200 from Enzime/add/spotify-tray

This commit is contained in:
Sandro 2021-12-20 00:06:02 +01:00 committed by GitHub
commit 2beba9a23a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 32 additions and 5 deletions

View File

@ -3481,9 +3481,9 @@
githubId = 5493775;
name = "Ente";
};
enzime = {
Enzime = {
email = "enzime@users.noreply.github.com";
github = "enzime";
github = "Enzime";
githubId = 10492681;
name = "Michael Hoang";
};

View File

@ -0,0 +1,25 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gtk3 }:
stdenv.mkDerivation rec {
pname = "spotify-tray";
version = "1.3.2";
src = fetchFromGitHub {
owner = "tsmetana";
repo = pname;
rev = "v${version}";
sha256 = "sha256-E86rA8cBjy/bI7sZHlT40o7i23PcONXT5GTHEfcaDf0=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ gtk3 ];
meta = with lib; {
homepage = "https://github.com/tsmetana/spotify-tray";
description = "Adds a tray icon to the Spotify Linux client application.";
license = licenses.gpl3Only;
platforms = platforms.linux;
maintainers = with maintainers; [ Enzime ];
};
}

View File

@ -27,6 +27,6 @@ buildPythonApplication rec {
description = "Free software that synchronises media players";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ enzime ];
maintainers = with maintainers; [ Enzime ];
};
}

View File

@ -40,6 +40,6 @@ stdenv.mkDerivation rec {
homepage = "http://www.brother.com/";
license = lib.licenses.gpl2;
platforms = [ "x86_64-linux" "i686-linux" ];
maintainers = [ lib.maintainers.enzime ];
maintainers = [ lib.maintainers.Enzime ];
};
}

View File

@ -38,6 +38,6 @@ stdenv.mkDerivation rec {
homepage = "http://www.brother.com/";
license = lib.licenses.unfree;
platforms = [ "x86_64-linux" "i686-linux" ];
maintainers = [ lib.maintainers.enzime ];
maintainers = [ lib.maintainers.Enzime ];
};
}

View File

@ -28343,6 +28343,8 @@ with pkgs;
spotify-qt = libsForQt5.callPackage ../applications/audio/spotify-qt { };
spotify-tray = callPackage ../applications/misc/spotify-tray { };
spotify-tui = callPackage ../applications/audio/spotify-tui {
inherit (darwin.apple_sdk.frameworks) AppKit Security;
};