mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
43 lines
820 B
Nix
43 lines
820 B
Nix
{ 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;
|
|
};
|
|
})
|