2021-11-16 00:22:18 +01:00
|
|
|
{ pkgs, ... }:
|
|
|
|
with pkgs;
|
|
|
|
let
|
|
|
|
buildPythonPackage = python3.pkgs.buildPythonPackage;
|
|
|
|
pulsectl = python3.pkgs.pulsectl;
|
|
|
|
pygobject3 = python3.pkgs.pygobject3;
|
|
|
|
in
|
2021-11-12 17:10:17 +01:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pamedia";
|
|
|
|
version = "0.1.0";
|
|
|
|
|
|
|
|
src = ./src;
|
|
|
|
|
2021-11-21 19:07:12 +01:00
|
|
|
buildInputs = [
|
|
|
|
gobject-introspection
|
|
|
|
libnotify
|
|
|
|
];
|
|
|
|
|
2021-11-12 17:10:17 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pulsectl
|
2021-11-16 00:22:18 +01:00
|
|
|
pygobject3
|
2021-11-12 17:10:17 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Change volume of the PulseAudio default sink";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|