python39Packages.audiotools: cleanup

This commit is contained in:
Sandro Jäckel 2021-10-31 22:24:37 +01:00
parent c4eb2858ba
commit 205903c992
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
2 changed files with 12 additions and 7 deletions

View file

@ -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; [ ];
};
}

View file

@ -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;