sysvol: init at 0-unstable-2024-02-08
This commit is contained in:
40
pkgs/additional/sysvol/default.nix
Normal file
40
pkgs/additional/sysvol/default.nix
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
{ lib, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, gtk4-layer-shell
|
||||||
|
, gtkmm4
|
||||||
|
, pkg-config
|
||||||
|
, pulseaudio
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "sysvol";
|
||||||
|
version = "0-unstable-2024-02-08";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "AmirDahan";
|
||||||
|
repo = "sysvol";
|
||||||
|
rev = "b8a15ca2e52922bceab3f48c5630149674da57e9";
|
||||||
|
hash = "sha256-BaefSRnn6ww3Ut+3ouXKoI/8/vmcPh/QV6dEETr3tog=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
buildInputs = [
|
||||||
|
gtk4-layer-shell
|
||||||
|
gtkmm4
|
||||||
|
pulseaudio
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
install -m755 sysvol $out/bin/sysvol
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A basic GTK4 volume indicator";
|
||||||
|
inherit (finalAttrs.src.meta) homepage;
|
||||||
|
mainProgram = "sysvol";
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
|
maintainers = with lib.maintainers; [ colinsane ];
|
||||||
|
};
|
||||||
|
})
|
@@ -67,6 +67,7 @@ let
|
|||||||
swaylock-plugin = callPackage ./additional/swaylock-plugin { };
|
swaylock-plugin = callPackage ./additional/swaylock-plugin { };
|
||||||
sxmo_swaylock = callPackage ./additional/sxmo_swaylock { };
|
sxmo_swaylock = callPackage ./additional/sxmo_swaylock { };
|
||||||
sxmo-utils = callPackage ./additional/sxmo-utils { };
|
sxmo-utils = callPackage ./additional/sxmo-utils { };
|
||||||
|
sysvol = callPackage ./additional/sysvol { };
|
||||||
tow-boot-pinephone = callPackage ./additional/tow-boot-pinephone { };
|
tow-boot-pinephone = callPackage ./additional/tow-boot-pinephone { };
|
||||||
tree-sitter-nix-shell = callPackage ./additional/tree-sitter-nix-shell { };
|
tree-sitter-nix-shell = callPackage ./additional/tree-sitter-nix-shell { };
|
||||||
trivial-builders = lib.recurseIntoAttrs (callPackage ./additional/trivial-builders { });
|
trivial-builders = lib.recurseIntoAttrs (callPackage ./additional/trivial-builders { });
|
||||||
|
Reference in New Issue
Block a user