2016-01-12 21:29:54 +01:00
|
|
|
{ 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 ];
|
2017-09-03 04:33:32 +02:00
|
|
|
NIX_CFLAGS_COMPILE = "-fpermissive";
|
2016-01-12 21:29:54 +01:00
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
mkdir -p $out
|
|
|
|
scons PREFIX=$out
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = "scons install";
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://das.nasophon.de/klick/;
|
2016-01-12 21:29:54 +01:00
|
|
|
description = "Advanced command-line metronome for JACK";
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2016-01-12 21:29:54 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|