2015-06-27 00:17:52 -07:00
|
|
|
{ stdenv, fetchurl, libjack2, libsndfile, pkgconfig }:
|
2012-08-24 16:57:24 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "jack_capture-${version}";
|
2018-01-05 14:08:53 -08:00
|
|
|
version = "0.9.73";
|
2012-08-24 16:57:24 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 11:43:35 -07:00
|
|
|
url = "https://archive.notam02.no/arkiv/src/${name}.tar.gz";
|
2018-01-05 14:08:53 -08:00
|
|
|
sha256 = "1pji0zdwm3kxjrkbzj7fnxhr8ncrc8pyqnwyrh47fhypgqjv1br1";
|
2012-08-24 16:57:24 -07:00
|
|
|
};
|
|
|
|
|
2017-09-05 14:26:13 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libjack2 libsndfile ];
|
2012-08-24 16:57:24 -07:00
|
|
|
|
|
|
|
buildPhase = "PREFIX=$out make jack_capture";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp jack_capture $out/bin/
|
|
|
|
'';
|
|
|
|
|
2016-02-26 09:38:15 -08:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-10 17:09:53 -08:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2012-08-24 16:57:24 -07:00
|
|
|
description = "A program for recording soundfiles with jack";
|
|
|
|
homepage = http://archive.notam02.no/arkiv/src;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|