summary refs log tree commit diff
path: root/pkgs/applications/audio/jack-capture/default.nix
blob: 7a5095f37887a42d558b540650703a29c9b24c2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv, fetchurl, libjack2, libsndfile, pkgconfig }:

stdenv.mkDerivation rec {
  name = "jack_capture-${version}";
  version = "0.9.69";

  src = fetchurl {
    url = "http://archive.notam02.no/arkiv/src/${name}.tar.gz";
    sha256 = "0sk7b92my1v1g7rhkpl1c608rb0rdb28m9zqfll95kflxajd16zv";
  };

  buildInputs = [ libjack2 libsndfile pkgconfig ];

  buildPhase = "PREFIX=$out make jack_capture";

  installPhase = ''
    mkdir -p $out/bin
    cp jack_capture $out/bin/
  '';

  hardening_format = false;

  meta = with stdenv.lib; {
    description = "A program for recording soundfiles with jack";
    homepage = http://archive.notam02.no/arkiv/src;
    license = licenses.gpl2;
    maintainers = [ maintainers.goibhniu ];
    platforms = stdenv.lib.platforms.linux;
  };
}