Skip to content

Commit

Permalink
kara: init at 0.7.1 (#340630)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbsds authored Sep 19, 2024
2 parents d211b80 + 918e8d7 commit 3ab6abf
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions pkgs/by-name/ka/kara/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
stdenv,
lib,
fetchFromGitHub,
nix-update-script,
kdePackages,
...
}:
stdenv.mkDerivation (finalAttrs: {
pname = "kara";
version = "0.7.1";

src = fetchFromGitHub {
owner = "dhruv8sh";
repo = "kara";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-G+sLHcHnNuzIRE+6bvEeXaWYVdoqqxcp5kGF8ZhD/34=";
};

installPhase = ''
runHook preInstall
mkdir -p $out/share/plasma/plasmoids/org.dhruv8sh.kara
cp metadata.json $out/share/plasma/plasmoids/org.dhruv8sh.kara
cp -r contents $out/share/plasma/plasmoids/org.dhruv8sh.kara
runHook postInstall
'';

passthru.updateScript = nix-update-script { };

meta = {
description = "KDE Plasma Applet for use as a desktop/workspace pager";
homepage = "https://github.com/dhruv8sh/kara";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ HeitorAugustoLN ];
inherit (kdePackages.kwindowsystem.meta) platforms;
};
})

0 comments on commit 3ab6abf

Please sign in to comment.