summary refs log tree commit diff
path: root/pkgs/applications/audio/timemachine/default.nix
blob: 8c7ed20e74822b25366782ff02f8fae8df8f21fb (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
31
32
33
34
{ stdenv, fetchFromGitHub, autoconf, automake, pkgconfig, gtk2
, libjack2, libsndfile
}:

stdenv.mkDerivation rec {
  pname = "timemachine";
  version = "0.3.3";
  src = fetchFromGitHub {
    owner = "swh";
    repo = "timemachine";
    rev = "v${version}";
    sha256 = "1jsvd29wiqigxyqxl2xjklla11fwyjy68vqivcnlr9f2af4ylym8";
  };

  nativeBuildInputs = [ pkgconfig ];
    buildInputs = [ autoconf automake gtk2 libjack2
      libsndfile
    ];

  preConfigure = "./autogen.sh";

  NIX_LDFLAGS =  [
    "-lm"
  ];

  meta = {
    description = "JACK audio recorder";
    homepage = http://plugin.org.uk/timemachine/;
    license = stdenv.lib.licenses.lgpl2;
    platforms = stdenv.lib.platforms.linux;
    maintainers = [ stdenv.lib.maintainers.nico202 ];
  };
}