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