biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / simpleaudio / default.nix
blob8e336d4e61c2fa4d85bd0df21a55601bebc4d63d
2   alsa-lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   isPy27,
6   lib,
7 }:
9 buildPythonPackage rec {
10   pname = "simpleaudio";
11   version = "1.0.4";
12   format = "setuptools";
13   disabled = isPy27;
15   src = fetchFromGitHub {
16     owner = "hamiltron";
17     repo = "py-simple-audio";
18     rev = version;
19     sha256 = "12nypzb1m14yip4zrbzin5jc5awyp1d5md5y40g5anj4phb4hx1i";
20   };
22   patches = [ ./python312-fix.patch ];
24   buildInputs = [ alsa-lib ];
26   meta = with lib; {
27     homepage = "https://github.com/hamiltron/py-simple-audio";
28     description = "Simple audio playback Python extension - cross-platform, asynchronous, dependency-free";
29     license = licenses.mit;
30     maintainers = with maintainers; [ lucus16 ];
31   };