Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 49 lines
Nix
at gcc-offload
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950{ lib, buildPythonPackage, fetchPypi, libpulseaudio, glibc, substituteAll, stdenv, pulseaudio, unittestCheckHook,}:
buildPythonPackage rec { pname = "pulsectl"; version = "24.11.0"; format = "setuptools";
src = fetchPypi { inherit pname version; hash = "sha256-C6MnRdPxmNVlevGffuPrAHr1qGowbsPNRa9C52eCDQ0="; };
patches = [ # substitute library paths for libpulse and librt (substituteAll { src = ./library-paths.patch; libpulse = "${libpulseaudio.out}/lib/libpulse${stdenv.hostPlatform.extensions.sharedLibrary}"; librt = "${glibc.out}/lib/librt${stdenv.hostPlatform.extensions.sharedLibrary}"; }) ];
pythonImportsCheck = [ "pulsectl" ];
nativeCheckInputs = [ unittestCheckHook pulseaudio ];
preCheck = '' export HOME=$TMPDIR '';
meta = with lib; { description = "Python high-level interface and ctypes-based bindings for PulseAudio (libpulse)"; homepage = "https://github.com/mk-fg/python-pulse-control"; license = licenses.mit; maintainers = with maintainers; [ hexa ]; };}