2020-10-26 15:43:20 +03:00
|
|
|
{ stdenv, fetchFromGitLab, cmake, pkg-config, redkite, libsndfile, rapidjson
|
|
|
|
, libjack2, lv2, libX11, cairo }:
|
2020-06-12 16:25:19 +03:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "geonkick";
|
2020-12-05 21:10:08 +03:00
|
|
|
version = "2.5.1";
|
2020-06-12 16:25:19 +03:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "iurie-sw";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-12-05 21:10:08 +03:00
|
|
|
sha256 = "14svwrxqw15j6wjy3x8s28yyrafa31bm7d1ns5h6gvpndccwc1kw";
|
2020-06-12 16:25:19 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [ redkite libsndfile rapidjson libjack2 lv2 libX11 cairo ];
|
|
|
|
|
2020-08-30 19:02:07 +03:00
|
|
|
# https://github.com/iurie-sw/geonkick/issues/120
|
2020-10-26 15:43:20 +03:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DGKICK_REDKITE_SDK_PATH=${redkite}"
|
|
|
|
"-DCMAKE_INSTALL_LIBDIR=lib"
|
|
|
|
];
|
2020-06-12 16:25:19 +03:00
|
|
|
|
2020-10-26 15:43:20 +03:00
|
|
|
meta = with stdenv.lib; {
|
2020-06-12 16:25:19 +03:00
|
|
|
homepage = "https://gitlab.com/iurie-sw/geonkick";
|
|
|
|
description = "A free software percussion synthesizer";
|
2020-10-26 15:43:20 +03:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
2020-06-12 16:25:19 +03:00
|
|
|
};
|
|
|
|
}
|