2021-01-19 06:50:56 +00:00
|
|
|
{ stdenv, fetchurl, pkg-config, pure, portaudio, fftw, libsndfile, libsamplerate }:
|
2015-05-26 07:58:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
baseName = "audio";
|
|
|
|
version = "0.6";
|
|
|
|
name = "pure-${baseName}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
|
|
|
|
sha256 = "c1f2a5da73983efb5a54f86d57ba93713ebed20ff0c72de9b3467f10f2904ee0";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-05-26 07:58:18 +01:00
|
|
|
propagatedBuildInputs = [ pure portaudio fftw libsndfile libsamplerate ];
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
|
2015-05-26 07:58:18 +01:00
|
|
|
setupHook = ../generic-setup-hook.sh;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A digital audio interface for the Pure programming language";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://puredocs.bitbucket.org/pure-audio.html";
|
2015-05-26 07:58:18 +01:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ asppsa ];
|
|
|
|
};
|
|
|
|
}
|