nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 41 lines 746 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 standard-aifc, 7 standard-sunau, 8 ffmpeg-headless, 9 pytestCheckHook, 10}: 11 12buildPythonPackage (finalAttrs: { 13 pname = "audioread"; 14 version = "3.1.0"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "sampsyo"; 19 repo = "audioread"; 20 tag = "v${finalAttrs.version}"; 21 hash = "sha256-QvgwjUGuzeHH69YAdZdImjMT+9t4YxAukbuZKk0lBro="; 22 }; 23 24 build-system = [ poetry-core ]; 25 26 dependencies = [ 27 standard-aifc 28 standard-sunau 29 ]; 30 31 nativeCheckInputs = [ 32 ffmpeg-headless 33 pytestCheckHook 34 ]; 35 36 meta = { 37 description = "Cross-platform audio decoding"; 38 homepage = "https://github.com/sampsyo/audioread"; 39 license = lib.licenses.mit; 40 }; 41})