diff options
author | Heitor Augusto | 2024-06-13 20:48:08 +0000 |
---|---|---|
committer | Heitor Augusto | 2024-07-01 16:50:11 +0000 |
commit | 4ece7b95fc20d758f840e2b356d058bc04029aed (patch) | |
tree | 3a4921de11b2083c5a0a8df030f26beffb8bcfb0 /pkgs/by-name/pl | |
parent | 5dde575c3c4afb618781387b0db6d1c08a206c92 (diff) |
plasmusic-toolbar: init at 1.2.1
Diffstat (limited to 'pkgs/by-name/pl')
-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; + }; +}) |