Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, stdenv 5, AudioToolbox 6, AudioUnit 7, CoreServices 8}: 9 10buildPythonPackage rec { 11 pname = "audiotools"; 12 version = "3.1.1"; 13 14 buildInputs = lib.optionals stdenv.isDarwin [ 15 AudioToolbox 16 AudioUnit 17 CoreServices 18 ]; 19 20 src = fetchFromGitHub { 21 owner = "tuffy"; 22 repo = "python-audio-tools"; 23 rev = "v${version}"; 24 hash = "sha256-y+EiK9BktyTWowOiJvOb2YjtbPa7R62Wb5zinkyt1OM="; 25 }; 26 27 meta = with lib; { 28 description = "Utilities and Python modules for handling audio"; 29 homepage = "https://audiotools.sourceforge.net/"; 30 license = licenses.gpl2Plus; 31 maintainers = with maintainers; [ ]; 32 }; 33}