From a3beeeb95756f9c5501115e9aa4c2ec132498a06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 25 Nov 2022 13:43:51 -0800 Subject: [PATCH] klick: 0.12.2 -> 0.14.2 --- pkgs/applications/audio/klick/default.nix | 31 +++++++++++++++++------ 1 file changed, 23 insertions(+), 8 deletions(-) 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/";