summary refs log tree commit diff
path: root/pkgs/applications/audio/klick/default.nix
blob: f8febbe21781b97f0adfe924e51b00216a4108bc (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
{ stdenv, fetchurl, scons, pkgconfig
, libsamplerate, libsndfile, liblo, libjack2, boost }:

stdenv.mkDerivation rec {
  name = "klick-${version}";
  version = "0.12.2";

  src = fetchurl {
    url = "http://das.nasophon.de/download/${name}.tar.gz";
    sha256 = "1289533c0849b1b66463bf27f7ce5f71736b655cfb7672ef884c7e6eb957ac42";
  };

  buildInputs = [ scons pkgconfig libsamplerate libsndfile liblo libjack2 boost ];

  buildPhase = ''
    mkdir -p $out
    scons PREFIX=$out
  '';

  installPhase = "scons install";

  meta = {
    homepage = http://das.nasophon.de/klick/;
    description = "Advanced command-line metronome for JACK";
    license = stdenv.lib.licenses.gpl2Plus;
    platforms = stdenv.lib.platforms.linux;
  };
}