blob: 9f6471d576b5e13bcb75d0fd67bf6bd474df471a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ pkgs ? import <nixpkgs> {} }:
pkgs.stdenv.mkDerivation {
pname = "pavolctld";
version = "1.0";
src = pkgs.fetchgit {
url = "https://git.tjkeller.xyz/pavolctld";
rev = "079cf8b96a629313ebf1f579601aadccd0e6c424";
sha256 = "sha256-UIWh+Um/wdUKslyai5685wm6uMSl+zwwDsom6OL1CyU=";
};
buildInputs = [ pkgs.libpulseaudio ];
buildPhase = ''
make
'';
installPhase = ''
mkdir -p $out/bin $out/share/man/man1
cp pavolctld $out/bin/
cp pavolctld.1 $out/share/man/man1/
'';
meta = with pkgs.lib; {
description = "A minimal PulseAudio volume control/monitoring daemon";
license = licenses.mit;
maintainers = [ maintainers.tjkeller ];
};
}
|