diff --git a/pkgs/applications/audio/klick/default.nix b/pkgs/applications/audio/klick/default.nix index 281a7148dfea..cbe12a486efa 100644 --- a/pkgs/applications/audio/klick/default.nix +++ b/pkgs/applications/audio/klick/default.nix @@ -1,19 +1,34 @@ -{ lib, stdenv, fetchurl, sconsPackages, pkg-config -, libsamplerate, libsndfile, liblo, libjack2, boost }: +{ lib +, stdenv +, fetchFromGitHub +, pkg-config +, sconsPackages +, rubberband +, boost +, libjack2 +, liblo +, libsamplerate +, libsndfile +}: stdenv.mkDerivation rec { pname = "klick"; - version = "0.12.2"; + version = "0.14.2"; - src = fetchurl { - url = "http://das.nasophon.de/download/${pname}-${version}.tar.gz"; - sha256 = "1289533c0849b1b66463bf27f7ce5f71736b655cfb7672ef884c7e6eb957ac42"; + src = fetchFromGitHub { + owner = "Allfifthstuning"; + repo = "klick"; + rev = version; + hash = "sha256-jHyeVCmyy9ipbVaF7GSW19DOVpU9EQJoLcGq9uos+eY="; }; - nativeBuildInputs = [ sconsPackages.scons_3_0_1 pkg-config ]; + nativeBuildInputs = [ + pkg-config + rubberband + sconsPackages.scons_latest + ]; buildInputs = [ libsamplerate libsndfile liblo libjack2 boost ]; prefixKey = "PREFIX="; - NIX_CFLAGS_COMPILE = "-fpermissive"; meta = { homepage = "http://das.nasophon.de/klick/";