2015-06-27 09:17:52 +02:00
|
|
|
{ stdenv, fetchurl, libjack2, libsndfile, pkgconfig }:
|
2012-08-25 01:57:24 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "jack_capture-${version}";
|
2018-01-05 23:08:53 +01:00
|
|
|
version = "0.9.73";
|
2012-08-25 01:57:24 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://archive.notam02.no/arkiv/src/${name}.tar.gz";
|
2018-01-05 23:08:53 +01:00
|
|
|
sha256 = "1pji0zdwm3kxjrkbzj7fnxhr8ncrc8pyqnwyrh47fhypgqjv1br1";
|
2012-08-25 01:57:24 +02:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libjack2 libsndfile ];
|
2012-08-25 01:57:24 +02:00
|
|
|
|
|
|
|
buildPhase = "PREFIX=$out make jack_capture";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp jack_capture $out/bin/
|
|
|
|
'';
|
|
|
|
|
2016-02-26 18:38:15 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-11 02:09:53 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2012-08-25 01:57:24 +02: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;
|
|
|
|
};
|
|
|
|
}
|