2024-01-02 11:29:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, fetchDebianPatch, alsa-lib, expat, glib, libjack2, libXext, libX11, libpng
|
2021-02-05 17:12:51 +00:00
|
|
|
, libpthreadstubs, libsmf, libsndfile, lv2, pkg-config, zita-resampler
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "0.9.20";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "drumgizmo";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.drumgizmo.org/releases/${pname}-${version}/${pname}-${version}.tar.gz";
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "sha256-AF8gQLiB29j963uI84TyNHIC0qwEWOCqmZIUWGq8V2o=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
patches = [
|
|
|
|
(fetchDebianPatch {
|
|
|
|
pname = "drumgizmo";
|
|
|
|
version = "0.9.20";
|
|
|
|
debianRevision = "3";
|
|
|
|
patch = "0005-fix_ftbfs_with_gcc13.patch";
|
|
|
|
hash = "sha256-y5NDZ+3t6GkBeF/5UY8dwtH8k0cuM+5SGBGPSV7AX7M=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
configureFlags = [ "--enable-lv2" ];
|
|
|
|
|
2021-04-15 00:37:46 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
2021-06-28 23:13:55 +00:00
|
|
|
alsa-lib expat glib libjack2 libXext libX11 libpng libpthreadstubs
|
2021-04-15 00:37:46 +00:00
|
|
|
libsmf libsndfile lv2 zita-resampler
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "An LV2 sample based drum plugin";
|
|
|
|
homepage = "https://www.drumgizmo.org";
|
2021-04-15 00:37:46 +00:00
|
|
|
license = licenses.lgpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.goibhniu maintainers.nico202 ];
|
|
|
|
};
|
|
|
|
}
|