depot/third_party/nixpkgs/pkgs/applications/audio/jack-capture/default.nix
Default email 1ae14203fc Project import generated by Copybara.
GitOrigin-RevId: 68398d2dd50efc2d878bf0f83bbc8bc323b6b0e0
2021-01-17 01:15:33 +01:00

31 lines
808 B
Nix

{ lib, stdenv, fetchurl, libjack2, libsndfile, pkgconfig }:
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";
};
nativeBuildInputs = [ pkgconfig ];
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 ];
platforms = lib.platforms.linux;
};
}