From d445ee9f37d274a36929629817d241c41c241dbd Mon Sep 17 00:00:00 2001 From: David Calvo Ruiz Date: Tue, 12 Jan 2016 21:29:54 +0100 Subject: [PATCH] klick: init at 0.12.2 --- pkgs/applications/audio/klick/default.nix | 28 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/applications/audio/klick/default.nix diff --git a/pkgs/applications/audio/klick/default.nix b/pkgs/applications/audio/klick/default.nix new file mode 100644 index 000000000000..20ac0f1aba66 --- /dev/null +++ b/pkgs/applications/audio/klick/default.nix @@ -0,0 +1,28 @@ +{ 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 ]; + + buildPhase = '' + mkdir -p $out + scons PREFIX=$out + ''; + + installPhase = "scons install"; + + meta = { + homepage = "http://das.nasophon.de/klick/"; + description = "Advanced command-line metronome for JACK"; + license = stdenv.lib.licenses.gpl2Plus; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 73a4c899823b..0ce32a992864 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2031,6 +2031,8 @@ let kismet = callPackage ../applications/networking/sniffers/kismet { }; + klick = callPackage ../applications/audio/klick { }; + knockknock = callPackage ../tools/security/knockknock { }; kpcli = callPackage ../tools/security/kpcli { };