depot/third_party/nixpkgs/pkgs/development/python-modules/simpleaudio/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

30 lines
676 B
Nix

{
alsa-lib,
buildPythonPackage,
fetchFromGitHub,
isPy27,
lib,
}:
buildPythonPackage rec {
pname = "simpleaudio";
version = "1.0.4";
format = "setuptools";
disabled = isPy27;
src = fetchFromGitHub {
owner = "hamiltron";
repo = "py-simple-audio";
rev = version;
sha256 = "12nypzb1m14yip4zrbzin5jc5awyp1d5md5y40g5anj4phb4hx1i";
};
buildInputs = [ alsa-lib ];
meta = with lib; {
homepage = "https://github.com/hamiltron/py-simple-audio";
description = "Simple audio playback Python extension - cross-platform, asynchronous, dependency-free";
license = licenses.mit;
maintainers = with maintainers; [ lucus16 ];
};
}