2022-11-25 21:43:51 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
2023-03-25 14:35:15 +00:00
|
|
|
, scons
|
2022-11-25 21:43:51 +00:00
|
|
|
, rubberband
|
|
|
|
, boost
|
|
|
|
, libjack2
|
|
|
|
, liblo
|
|
|
|
, libsamplerate
|
|
|
|
, libsndfile
|
|
|
|
}:
|
2016-01-12 20:29:54 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "klick";
|
2022-11-25 21:43:51 +00:00
|
|
|
version = "0.14.2";
|
2016-01-12 20:29:54 +00:00
|
|
|
|
2022-11-25 21:43:51 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Allfifthstuning";
|
|
|
|
repo = "klick";
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-jHyeVCmyy9ipbVaF7GSW19DOVpU9EQJoLcGq9uos+eY=";
|
2016-01-12 20:29:54 +00:00
|
|
|
};
|
|
|
|
|
2022-11-25 21:43:51 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
rubberband
|
2023-03-25 14:35:15 +00:00
|
|
|
scons
|
2022-11-25 21:43:51 +00:00
|
|
|
];
|
2019-01-06 19:29:52 +00:00
|
|
|
buildInputs = [ libsamplerate libsndfile liblo libjack2 boost ];
|
2018-11-12 02:52:07 +00:00
|
|
|
prefixKey = "PREFIX=";
|
2016-01-12 20:29:54 +00:00
|
|
|
|
|
|
|
meta = {
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://das.nasophon.de/klick/";
|
2016-01-12 20:29:54 +00:00
|
|
|
description = "Advanced command-line metronome for JACK";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
2016-01-12 20:29:54 +00:00
|
|
|
};
|
|
|
|
}
|