python3Packages.miniaudio: init at 1.44
This commit is contained in:
parent
a2d58534e0
commit
504f2ea1fe
38
pkgs/development/python-modules/miniaudio/default.nix
Normal file
38
pkgs/development/python-modules/miniaudio/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -4413,6 +4413,8 @@ in {
|
|||||||
|
|
||||||
millheater = callPackage ../development/python-modules/millheater { };
|
millheater = callPackage ../development/python-modules/millheater { };
|
||||||
|
|
||||||
|
miniaudio = callPackage ../development/python-modules/miniaudio { };
|
||||||
|
|
||||||
minidb = callPackage ../development/python-modules/minidb { };
|
minidb = callPackage ../development/python-modules/minidb { };
|
||||||
|
|
||||||
minidump = callPackage ../development/python-modules/minidump { };
|
minidump = callPackage ../development/python-modules/minidump { };
|
||||||
|
Loading…
Reference in New Issue
Block a user