3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/miniaudio/default.nix
2021-06-22 13:42:52 +02:00

39 lines
733 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, cffi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "miniaudio";
version = "1.44";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "irmen";
repo = "pyminiaudio";
rev = "v${version}";
sha256 = "1na3vx10lc41gkk14h6s3fm4bnrd2bwf4qbf1l6bfvhs92b9k111";
};
propagatedBuildInputs = [
cffi
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "miniaudio" ];
meta = with lib; {
description = "Python bindings for the miniaudio library and its decoders";
homepage = "https://github.com/irmen/pyminiaudio";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}