2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libjack2, libsndfile, pkg-config }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "jack_capture";
|
|
|
|
version = "0.9.73";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://archive.notam02.no/arkiv/src/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1pji0zdwm3kxjrkbzj7fnxhr8ncrc8pyqnwyrh47fhypgqjv1br1";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libjack2 libsndfile ];
|
|
|
|
|
|
|
|
buildPhase = "PREFIX=$out make jack_capture";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp jack_capture $out/bin/
|
|
|
|
'';
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A program for recording soundfiles with jack";
|
|
|
|
homepage = "http://archive.notam02.no/arkiv/src";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2021-01-17 00:15:33 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|