2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, libjack2, libsndfile, pkg-config }:
|
2012-08-25 00:57:24 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "jack_capture";
|
2018-01-05 22:08:53 +00:00
|
|
|
version = "0.9.73";
|
2012-08-25 00:57:24 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://archive.notam02.no/arkiv/src/${pname}-${version}.tar.gz";
|
2018-01-05 22:08:53 +00:00
|
|
|
sha256 = "1pji0zdwm3kxjrkbzj7fnxhr8ncrc8pyqnwyrh47fhypgqjv1br1";
|
2012-08-25 00:57:24 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ libjack2 libsndfile ];
|
2012-08-25 00:57:24 +01: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
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2012-08-25 00:57:24 +01:00
|
|
|
description = "A program for recording soundfiles with jack";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://archive.notam02.no/arkiv/src";
|
2012-08-25 00:57:24 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2021-01-15 13:21:58 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2012-08-25 00:57:24 +01:00
|
|
|
};
|
|
|
|
}
|