2021-04-13 19:44:15 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab, cmake, pkg-config, libsndfile, rapidjson
|
2024-04-21 15:54:59 +00:00
|
|
|
, libjack2, lv2, libX11, cairo, openssl }:
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "geonkick";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "3.4.0";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
2024-04-21 15:54:59 +00:00
|
|
|
owner = "Geonkick-Synthesizer";
|
2020-08-20 17:08:02 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-zoEC85QYcQMF92KvLBikYw1nDoSHaedpTDDqvoAtte0=";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
buildInputs = [ libsndfile rapidjson libjack2 lv2 libX11 cairo openssl ];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
# Without this, the lv2 ends up in
|
|
|
|
# /nix/store/$HASH/nix/store/$HASH/lib/lv2
|
2020-11-03 02:18:15 +00:00
|
|
|
cmakeFlags = [
|
|
|
|
"-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";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Free software percussion synthesizer";
|
2020-11-03 02:18:15 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "geonkick";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
}
|