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