2015-06-27 09:17:52 +02:00
|
|
|
{ stdenv, fetchurl, libjack2, libsndfile, pkgconfig }:
|
2012-08-25 01:57:24 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "jack_capture";
|
2018-01-05 23:08:53 +01:00
|
|
|
version = "0.9.73";
|
2012-08-25 01:57:24 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://archive.notam02.no/arkiv/src/${pname}-${version}.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";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://archive.notam02.no/arkiv/src";
|
2012-08-25 01:57:24 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|