1 { lib, stdenv, fetchFromGitHub, libjack2, libsndfile, pkg-config }:
3 stdenv.mkDerivation rec {
4 pname = "jack_capture";
5 version = "0.9.73.2023-01-04";
7 src = fetchFromGitHub {
10 rev = "a539d444d388c4cfed7279e385830e7767d59c41";
11 sha256 = "sha256-2DavZS4esV17a3vkiPvfCfp0QF94ZcXqdIw84h9HDjA=";
14 nativeBuildInputs = [ pkg-config ];
15 buildInputs = [ libjack2 libsndfile ];
17 buildPhase = "PREFIX=$out make jack_capture";
21 cp jack_capture $out/bin/
24 hardeningDisable = [ "format" ];
27 description = "A program for recording soundfiles with jack";
28 mainProgram = "jack_capture";
29 homepage = "https://github.com/kmatheussen/jack_capture/";
30 license = licenses.gpl2;
31 maintainers = with maintainers; [ goibhniu orivej ];
32 platforms = lib.platforms.linux;