mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
Merge pull request #319671 from HeitorAugustoLN/plasmusic-toolbar-1.2.1
plasmusic-toolbar: init at 1.2.1
This commit is contained in:
commit
15f1ef2308
31
pkgs/by-name/pl/plasmusic-toolbar/package.nix
Normal file
31
pkgs/by-name/pl/plasmusic-toolbar/package.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, kdePackages
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "plasmusic-toolbar";
|
||||
version = "1.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ccatterina";
|
||||
repo = "plasmusic-toolbar";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-yc6hUi5tICpG3SacYnWVApYQXPN4Yrw6+BFd9ghlqxA=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/plasma/plasmoids/plasmusic-toolbar
|
||||
cp -r src/* $out/share/plasma/plasmoids/plasmusic-toolbar
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "KDE Plasma widget that shows currently playing song information and provide playback controls.";
|
||||
homepage = "https://github.com/ccatterina/plasmusic-toolbar";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ HeitorAugustoLN ];
|
||||
inherit (kdePackages.kwindowsystem.meta) platforms;
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user