sysvol: add an update script
This commit is contained in:
parent
514fbca3f1
commit
c4c5a640ce
|
@ -4,6 +4,7 @@
|
|||
, gtkmm4
|
||||
, pkg-config
|
||||
, pulseaudio
|
||||
, nix-update-script
|
||||
, wrapGAppsHook4
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
|
@ -11,7 +12,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
version = "0-unstable-2024-04-11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AmirDahan";
|
||||
owner = "System64fumo";
|
||||
repo = "sysvol";
|
||||
rev = "a26809de285ee194436bc55ef701476765c5b15e";
|
||||
hash = "sha256-WiFm5SRQV2up9EBCR9oF0p9F+DQHDQZhxsaUuvpbMw8=";
|
||||
|
@ -41,9 +42,13 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
install -m755 sysvol $out/bin/sysvol
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [ "--version" "branch" ];
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A basic GTK4 volume indicator";
|
||||
inherit (finalAttrs.src.meta) homepage;
|
||||
homepage = "https://github.com/System64fumo/sysvol";
|
||||
mainProgram = "sysvol";
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ colinsane ];
|
||||
|
|
Loading…
Reference in New Issue
Block a user