evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pulsectl-asyncio / default.nix
blobce5216428dd7e51a9d9604abc6e9a66ed0d5c223
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pulsectl,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "pulsectl-asyncio";
12   version = "1.2.2";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "mhthies";
19     repo = "pulsectl-asyncio";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-lHVLrkFdNM8Y4t6TcXYnX8sQ4COrW3vV2sTDWeI4xZU=";
22   };
24   build-system = [ setuptools ];
26   dependencies = [ pulsectl ];
28   # Tests require a running pulseaudio instance
29   doCheck = false;
31   pythonImportsCheck = [ "pulsectl_asyncio" ];
33   meta = with lib; {
34     description = "Python bindings library for PulseAudio";
35     homepage = "https://github.com/mhthies/pulsectl-asyncio";
36     changelog = "https://github.com/mhthies/pulsectl-asyncio/releases/tag/v${version}";
37     license = licenses.mit;
38     maintainers = with maintainers; [ fab ];
39   };