python39Packages.audiotools: cleanup
This commit is contained in:
parent
c4eb2858ba
commit
205903c992
2 changed files with 12 additions and 7 deletions
|
@ -2,29 +2,32 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, stdenv
|
, stdenv
|
||||||
, darwin
|
, AudioToolbox
|
||||||
|
, AudioUnit
|
||||||
|
, CoreServices
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "audiotools";
|
pname = "audiotools";
|
||||||
version = "3.1.1";
|
version = "3.1.1";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
buildInputs = lib.optionals stdenv.isDarwin [
|
||||||
AudioToolbox
|
AudioToolbox
|
||||||
AudioUnit
|
AudioUnit
|
||||||
CoreServices
|
CoreServices
|
||||||
]);
|
];
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tuffy";
|
owner = "tuffy";
|
||||||
repo = "python-audio-tools";
|
repo = "python-audio-tools";
|
||||||
rev = "v3.1.1";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-y+EiK9BktyTWowOiJvOb2YjtbPa7R62Wb5zinkyt1OM=";
|
sha256 = "sha256-y+EiK9BktyTWowOiJvOb2YjtbPa7R62Wb5zinkyt1OM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "Utilities and Python modules for handling audio";
|
description = "Utilities and Python modules for handling audio";
|
||||||
homepage = "http://audiotools.sourceforge.net/";
|
homepage = "http://audiotools.sourceforge.net/";
|
||||||
license = lib.licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -695,7 +695,9 @@ in {
|
||||||
|
|
||||||
audioread = callPackage ../development/python-modules/audioread { };
|
audioread = callPackage ../development/python-modules/audioread { };
|
||||||
|
|
||||||
audiotools = callPackage ../development/python-modules/audiotools { };
|
audiotools = callPackage ../development/python-modules/audiotools {
|
||||||
|
inherit (pkgs.darwin.apple_sdk.frameworks) AudioToolbox AudioUnit CoreServices;
|
||||||
|
};
|
||||||
|
|
||||||
augeas = callPackage ../development/python-modules/augeas {
|
augeas = callPackage ../development/python-modules/augeas {
|
||||||
inherit (pkgs) augeas;
|
inherit (pkgs) augeas;
|
||||||
|
|
Loading…
Reference in a new issue