Merge pull request #254295 from fabaff/pulsectl-asyncio

python311Packages.pulsectl-asyncio: init at 1.1.1
This commit is contained in:
Fabian Affolter 2023-09-10 09:35:51 +02:00 committed by GitHub
commit 9b0719820a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,47 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pulsectl
, pythonOlder
, setuptools
, wheel
}:
buildPythonPackage rec {
pname = "pulsectl-asyncio";
version = "1.1.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "mhthies";
repo = "pulsectl-asyncio";
rev = "refs/tags/v${version}";
hash = "sha256-Uc8iUo9THWNPRRsvJxfw++41cnKrANe/Fk6e8bgLSkc=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
pulsectl
];
# Tests require a running pulseaudio instance
doCheck = false;
pythonImportsCheck = [
"pulsectl_asyncio"
];
meta = with lib; {
description = "Python bindings library for PulseAudio";
homepage = "https://github.com/mhthies/pulsectl-asyncio";
changelog = "https://github.com/mhthies/pulsectl-asyncio/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -8688,6 +8688,8 @@ self: super: with self; {
pulp = callPackage ../development/python-modules/pulp { };
pulsectl-asyncio = callPackage ../development/python-modules/pulsectl-asyncio { };
pulsectl = callPackage ../development/python-modules/pulsectl { };
pure-cdb = callPackage ../development/python-modules/pure-cdb { };