python3-scikits.samplerate: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2022-03-10 15:19:46 +01:00
parent 79a4f02481
commit 9d349d6a48

View file

@ -2,16 +2,18 @@
, buildPythonPackage , buildPythonPackage
, numpy , numpy
, pkgs , pkgs
, fetchFromGitHub
}: }:
buildPythonPackage { buildPythonPackage {
pname = "scikits.samplerate"; pname = "scikits.samplerate";
version = "0.3.3"; version = "0.3.3";
src = pkgs.fetchgit { src = fetchFromGitHub {
url = "https://github.com/cournape/samplerate"; owner = "cournape";
repo = "samplerate";
rev = "a536c97eb2d6195b5f266ea3cc3a35364c4c2210"; rev = "a536c97eb2d6195b5f266ea3cc3a35364c4c2210";
sha256 = "0mgic7bs5zv5ji05vr527jlxxlb70f9dg93hy1lzyz2plm1kf7gg"; sha256 = "sha256-7x03Q6VXfP9p8HCk15IDZ9HeqTyi5F1AlGX/otdh8VU=";
}; };
buildInputs = [ pkgs.libsamplerate ]; buildInputs = [ pkgs.libsamplerate ];