mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
Merge pull request #254295 from fabaff/pulsectl-asyncio
python311Packages.pulsectl-asyncio: init at 1.1.1
This commit is contained in:
commit
9b0719820a
47
pkgs/development/python-modules/pulsectl-asyncio/default.nix
Normal file
47
pkgs/development/python-modules/pulsectl-asyncio/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user