pythonPackages.audiotools: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-10-30 16:55:42 +02:00 committed by Jonathan Ringer
parent 971ee7fe70
commit 256c71f7fa

View file

@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, fetchurl
, fetchFromGitHub
, stdenv
, darwin
}:
@ -15,9 +15,11 @@ buildPythonPackage rec {
CoreServices
]);
src = fetchurl {
url = "https://github.com/tuffy/python-audio-tools/archive/v${version}.tar.gz";
sha256 = "0ymlxvqkqhzk4q088qwir3dq0zgwqlrrdfnq7f0iq97g05qshm2c";
src = fetchFromGitHub {
owner = "tuffy";
repo = "python-audio-tools";
rev = "v3.1.1";
sha256 = "sha256-y+EiK9BktyTWowOiJvOb2YjtbPa7R62Wb5zinkyt1OM=";
};
meta = {