2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab, cmake, pkg-config, redkite, libsndfile, rapidjson
|
2020-11-03 02:18:15 +00:00
|
|
|
, libjack2, lv2, libX11, cairo }:
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "geonkick";
|
2021-01-05 17:05:55 +00:00
|
|
|
version = "2.6.1";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "iurie-sw";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-01-05 17:05:55 +00:00
|
|
|
sha256 = "1l647j11pb9lkknnh4q99mmfcvr644b02lfcdjh98z60vqm1s54c";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [ redkite libsndfile rapidjson libjack2 lv2 libX11 cairo ];
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
# https://github.com/iurie-sw/geonkick/issues/120
|
2020-11-03 02:18:15 +00:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DGKICK_REDKITE_SDK_PATH=${redkite}"
|
|
|
|
"-DCMAKE_INSTALL_LIBDIR=lib"
|
|
|
|
];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-08-20 17:08:02 +00:00
|
|
|
homepage = "https://gitlab.com/iurie-sw/geonkick";
|
|
|
|
description = "A free software percussion synthesizer";
|
2020-11-03 02:18:15 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
}
|