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
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
, darwin
|
||||
, AudioToolbox
|
||||
, AudioUnit
|
||||
, CoreServices
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "audiotools";
|
||||
version = "3.1.1";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
AudioToolbox
|
||||
AudioUnit
|
||||
CoreServices
|
||||
]);
|
||||
];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tuffy";
|
||||
repo = "python-audio-tools";
|
||||
rev = "v3.1.1";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-y+EiK9BktyTWowOiJvOb2YjtbPa7R62Wb5zinkyt1OM=";
|
||||
};
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "Utilities and Python modules for handling audio";
|
||||
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 { };
|
||||
|
||||
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 {
|
||||
inherit (pkgs) augeas;
|
||||
|
|
Loading…
Reference in a new issue