python3Packages.miniaudio: init at 1.44

This commit is contained in:
Robert Schütz 2021-06-20 17:05:20 +02:00 committed by Martin Weinelt
parent a2d58534e0
commit 504f2ea1fe
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ 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 ];
};
}

View file

@ -4413,6 +4413,8 @@ in {
millheater = callPackage ../development/python-modules/millheater { };
miniaudio = callPackage ../development/python-modules/miniaudio { };
minidb = callPackage ../development/python-modules/minidb { };
minidump = callPackage ../development/python-modules/minidump { };