pulsemixer: init at 1.3.0-license
This commit is contained in:
parent
8a28d840e9
commit
4936e31141
36
pkgs/tools/audio/pulsemixer/default.nix
Normal file
36
pkgs/tools/audio/pulsemixer/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ stdenv, fetchFromGitHub, python3, libpulseaudio }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "pulsemixer";
|
||||
version = "1.3.0-license";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GeorgeFilipkin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "186xbzyn35w2j58l68mccj0cnf0wxj93zb7s0r26zj4cppwszn90";
|
||||
};
|
||||
|
||||
inherit libpulseaudio;
|
||||
|
||||
buildInputs = [ python3 ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
install pulsemixer $out/bin/
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
substituteInPlace "$out/bin/pulsemixer" \
|
||||
--replace "libpulse.so.0" "$libpulseaudio/lib/libpulse.so.0"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Cli and curses mixer for pulseaudio";
|
||||
homepage = https://github.com/GeorgeFilipkin/pulsemixer;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.woffs ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -3557,6 +3557,8 @@ with pkgs;
|
||||
|
||||
pnmixer = callPackage ../tools/audio/pnmixer { };
|
||||
|
||||
pulsemixer = callPackage ../tools/audio/pulsemixer { };
|
||||
|
||||
pwsafe = callPackage ../applications/misc/pwsafe {
|
||||
wxGTK = wxGTK30;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user