summary refs log tree commit diff
path: root/pkgs/development/python-modules/audiotools/default.nix
blob: d008498117b60ed12b3d4c27e0c82d6d74fefd27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib
, buildPythonPackage
, fetchFromGitHub
, stdenv
, AudioToolbox
, AudioUnit
, CoreServices
}:

buildPythonPackage rec {
  pname = "audiotools";
  version = "3.1.1";

  buildInputs = lib.optionals stdenv.isDarwin [
    AudioToolbox
    AudioUnit
    CoreServices
  ];

  src = fetchFromGitHub {
    owner = "tuffy";
    repo = "python-audio-tools";
    rev = "v${version}";
    sha256 = "sha256-y+EiK9BktyTWowOiJvOb2YjtbPa7R62Wb5zinkyt1OM=";
  };

  meta = with lib; {
    description = "Utilities and Python modules for handling audio";
    homepage = "http://audiotools.sourceforge.net/";
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [ ];
  };
}