mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-30 14:11:21 +00:00
Merge pull request #284867 from jcmuller/add-pa-notify
pa-notify: init at 1.5.0
This commit is contained in:
commit
fa17e0c563
@ -9532,6 +9532,16 @@
|
||||
githubId = 5802758;
|
||||
name = "Joshua Trees";
|
||||
};
|
||||
juancmuller = {
|
||||
email = "nix@juancmuller.com";
|
||||
githubId = 208500;
|
||||
github = "jcmuller";
|
||||
matrix = "@jcmuller@beeper.com";
|
||||
name = "Juan C. Müller";
|
||||
keys = [{
|
||||
fingerprint = "D78D 25D8 A1B8 2596 267F 35B8 F44E A51A 28F9 B4A7";
|
||||
}];
|
||||
};
|
||||
juaningan = {
|
||||
email = "juaningan@gmail.com";
|
||||
github = "oneingan";
|
||||
|
42
pkgs/by-name/pa/pa-notify/package.nix
Normal file
42
pkgs/by-name/pa/pa-notify/package.nix
Normal 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;
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user