2022-11-27 09:42:12 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
2023-03-27 19:17:25 +00:00
|
|
|
, scons
|
2022-11-27 09:42:12 +00:00
|
|
|
, rubberband
|
|
|
|
, boost
|
|
|
|
, libjack2
|
|
|
|
, liblo
|
|
|
|
, libsamplerate
|
|
|
|
, libsndfile
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "klick";
|
2022-11-27 09:42:12 +00:00
|
|
|
version = "0.14.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-11-27 09:42:12 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Allfifthstuning";
|
|
|
|
repo = "klick";
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-jHyeVCmyy9ipbVaF7GSW19DOVpU9EQJoLcGq9uos+eY=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-11-27 09:42:12 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
rubberband
|
2023-03-27 19:17:25 +00:00
|
|
|
scons
|
2022-11-27 09:42:12 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libsamplerate libsndfile liblo libjack2 boost ];
|
|
|
|
prefixKey = "PREFIX=";
|
|
|
|
|
|
|
|
meta = {
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "https://das.nasophon.de/klick/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Advanced command-line metronome for JACK";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|