nixpkgs/pkgs/applications/audio/jack-capture/default.nix

32 lines
810 B
Nix
Raw Normal View History

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