25 lines
467 B
Nix
25 lines
467 B
Nix
{ pkgs, ... }:
|
|
with pkgs;
|
|
let
|
|
buildPythonPackage = python3.pkgs.buildPythonPackage;
|
|
pulsectl = python3.pkgs.pulsectl;
|
|
pygobject3 = python3.pkgs.pygobject3;
|
|
in
|
|
buildPythonPackage rec {
|
|
pname = "pamedia";
|
|
version = "0.1.0";
|
|
|
|
src = ./src;
|
|
|
|
propagatedBuildInputs = [
|
|
pulsectl
|
|
pygobject3
|
|
gobject-introspection
|
|
libnotify
|
|
];
|
|
|
|
meta = {
|
|
description = "Change volume of the PulseAudio default sink";
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|