1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00
nixpkgs/pkgs/misc/jackaudio/jack1.nix
2012-04-08 00:16:59 +00:00

31 lines
723 B
Nix

{ stdenv, fetchurl, pkgconfig, alsaLib
, firewireSupport ? false, ffado ? null }:
assert firewireSupport -> ffado != null;
stdenv.mkDerivation rec {
name = "jack-${version}";
version = "0.121.3";
src = fetchurl {
url = "http://jackaudio.org/downloads/jack-audio-connection-kit-${version}.tar.gz";
sha256 = "1ypa3gjwy4vmaskin0vczmmdwybckkl42wmkfabx3v5yx8yms2dp";
};
preBuild = "echo ok";
configureFlags = ''
${if firewireSupport then "--enable-firewire" else ""}
'';
buildInputs =
[ pkgconfig alsaLib
] ++ (stdenv.lib.optional firewireSupport ffado);
meta = {
description = "JACK audio connection kit";
homepage = "http://jackaudio.org";
license = "GPL";
};
}