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

25 lines
758 B
Nix
Raw Normal View History

{ stdenv, fetchurl, sconsPackages, pkgconfig
2016-01-12 20:29:54 +00:00
, libsamplerate, libsndfile, liblo, libjack2, boost }:
stdenv.mkDerivation rec {
pname = "klick";
2016-01-12 20:29:54 +00:00
version = "0.12.2";
src = fetchurl {
url = "http://das.nasophon.de/download/${pname}-${version}.tar.gz";
2016-01-12 20:29:54 +00:00
sha256 = "1289533c0849b1b66463bf27f7ce5f71736b655cfb7672ef884c7e6eb957ac42";
};
nativeBuildInputs = [ sconsPackages.scons_3_0_1 pkgconfig ];
buildInputs = [ libsamplerate libsndfile liblo libjack2 boost ];
prefixKey = "PREFIX=";
2017-09-03 03:33:32 +01:00
NIX_CFLAGS_COMPILE = "-fpermissive";
2016-01-12 20:29:54 +00:00
meta = {
homepage = "http://das.nasophon.de/klick/";
2016-01-12 20:29:54 +00:00
description = "Advanced command-line metronome for JACK";
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
2016-01-12 20:29:54 +00:00
};
}