nixpkgs/pkgs/applications/audio/klick/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
728 B
Nix
Raw Normal View History

2022-11-25 21:43:51 +00:00
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, 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 {
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
scons
2022-11-25 21:43:51 +00:00
];
buildInputs = [ libsamplerate libsndfile liblo libjack2 boost ];
prefixKey = "PREFIX=";
2016-01-12 20:29:54 +00:00
meta = {
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
};
}