13 buildPythonPackage rec {
16 format = "setuptools";
19 inherit pname version;
20 hash = "sha256-sFFQbQ1z08xDV879PeF7uFnX7PAE6ZSw98+oeFG8cVY=";
24 # substitute library paths for libpulse and librt
26 src = ./library-paths.patch;
27 libpulse = "${libpulseaudio.out}/lib/libpulse${stdenv.hostPlatform.extensions.sharedLibrary}";
28 librt = "${glibc.out}/lib/librt${stdenv.hostPlatform.extensions.sharedLibrary}";
32 pythonImportsCheck = [ "pulsectl" ];
44 description = "Python high-level interface and ctypes-based bindings for PulseAudio (libpulse)";
45 homepage = "https://github.com/mk-fg/python-pulse-control";
46 license = licenses.mit;
47 maintainers = with maintainers; [ hexa ];