mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 14:47:06 +00:00
57bccb3cb8
* treewide: http -> https sources This updates the source urls of all top-level packages from http to https where possible. * buildtorrent: fix url and tab -> spaces
30 lines
780 B
Nix
30 lines
780 B
Nix
{ stdenv, fetchurl, alsaLib, fftw, libjack2, libsamplerate
|
|
, libsndfile, pkgconfig, python
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "aubio-0.4.6";
|
|
|
|
src = fetchurl {
|
|
url = "https://aubio.org/pub/${name}.tar.bz2";
|
|
sha256 = "1yvwskahx1bf3x2fvi6cwah1ay11iarh79fjlqz8s887y3hkpixx";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig python ];
|
|
buildInputs = [ alsaLib fftw libjack2 libsamplerate libsndfile ];
|
|
|
|
configurePhase = "python waf configure --prefix=$out";
|
|
|
|
buildPhase = "python waf";
|
|
|
|
installPhase = "python waf install";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Library for audio labelling";
|
|
homepage = https://aubio.org/;
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ goibhniu marcweber fpletz ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|