pa-notify: init at 1.5.0

This commit is contained in:
Juan C. Müller 2024-01-29 21:40:12 -05:00
parent a7019986fe
commit 4de6f32046
No known key found for this signature in database
GPG Key ID: F44EA51A28F9B4A7

View File

@ -0,0 +1,42 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, extra-cmake-modules
, glib
, libnotify
, libpulseaudio
, pkg-config
}:
stdenv.mkDerivation (finalAttrs: {
pname = "pa-notify";
version = "1.5.0";
src = fetchFromGitHub {
owner = "ikrivosheev";
repo = "pa-notify";
rev = "v${finalAttrs.version}";
hash = "sha256-356qwSxxxAUNJajsVjH3zqGAZQwMOcoLPSKPZdsCmBM=";
};
nativeBuildInputs = [
cmake
extra-cmake-modules
pkg-config
];
buildInputs = [
glib
libnotify
libpulseaudio
];
meta = with lib; {
homepage = "https://github.com/ikrivosheev/pa-notify";
description = "PulseAudio or PipeWire volume notification";
license = licenses.mit;
maintainers = with maintainers; [ juancmuller ];
mainProgram = "pa-notify";
platforms = platforms.linux;
};
})