nixos-config/pkgs/pamedia/default.nix
2021-11-21 19:07:12 +01:00

28 lines
491 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;
buildInputs = [
gobject-introspection
libnotify
];
propagatedBuildInputs = [
pulsectl
pygobject3
];
meta = {
description = "Change volume of the PulseAudio default sink";
license = lib.licenses.mit;
};
}