diff options
author | Doron Behar | 2024-07-01 21:12:09 +0300 |
---|---|---|
committer | GitHub | 2024-07-01 21:12:09 +0300 |
commit | 15f1ef23082b49d9d25e7670bc7e03896519a232 (patch) | |
tree | d7c1c02058e48cdf01a515e5a7a5b2efcef1004c /pkgs/by-name | |
parent | 41b2f31df6fcb5f23de2ae2c44aa707f772d258f (diff) | |
parent | 4ece7b95fc20d758f840e2b356d058bc04029aed (diff) |
Merge pull request #319671 from HeitorAugustoLN/plasmusic-toolbar-1.2.1
plasmusic-toolbar: init at 1.2.1
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/pl/plasmusic-toolbar/package.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/by-name/pl/plasmusic-toolbar/package.nix b/pkgs/by-name/pl/plasmusic-toolbar/package.nix new file mode 100644 index 000000000000..17bd0239a119 --- /dev/null +++ b/pkgs/by-name/pl/plasmusic-toolbar/package.nix @@ -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; + }; +}) |