2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl, fetchpatch, alsaLib, expat, glib, libjack2, libXext, libX11, libpng
|
2021-01-19 07:50:56 +01:00
|
|
|
, libpthreadstubs, libsmf, libsndfile, lv2, pkg-config, zita-resampler
|
2014-11-28 00:34:17 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-11-03 00:19:57 +01:00
|
|
|
version = "0.9.18.1";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "drumgizmo";
|
2014-11-28 00:34:17 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "https://www.drumgizmo.org/releases/${pname}-${version}/${pname}-${version}.tar.gz";
|
2019-11-03 00:19:57 +01:00
|
|
|
sha256 = "0bpbkzcr3znbwfdk79c14n5k5hh80iqlk2nc03q95vhimbadk8k7";
|
2014-11-28 00:34:17 +01:00
|
|
|
};
|
|
|
|
|
2020-06-05 13:11:32 +02:00
|
|
|
patches = [
|
|
|
|
# Fix build for lv2 1.18.0
|
|
|
|
(fetchpatch {
|
|
|
|
url = "http://cgit.drumgizmo.org/plugingizmo.git/patch/?id=be64ddf9da525cd5c6757464efc966052731ba71";
|
|
|
|
sha256 = "17w8g78i5avssc7m8rpw64ka3rai8dff81wfzir9cpxp8s2h44qf";
|
|
|
|
extraPrefix = "plugin/plugingizmo/";
|
|
|
|
stripLen = 1;
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2014-11-28 00:34:17 +01:00
|
|
|
configureFlags = [ "--enable-lv2" ];
|
|
|
|
|
|
|
|
buildInputs = [
|
2017-07-02 11:40:22 +02:00
|
|
|
alsaLib expat glib libjack2 libXext libX11 libpng libpthreadstubs
|
2021-01-19 07:50:56 +01:00
|
|
|
libsmf libsndfile lv2 pkg-config zita-resampler
|
2014-11-28 00:34:17 +01:00
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2014-11-28 00:34:17 +01:00
|
|
|
description = "An LV2 sample based drum plugin";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.drumgizmo.org";
|
2016-03-24 22:57:20 +01:00
|
|
|
license = licenses.lgpl3;
|
2014-11-28 00:34:17 +01:00
|
|
|
platforms = platforms.linux;
|
2016-01-06 14:27:22 +01:00
|
|
|
maintainers = [ maintainers.goibhniu maintainers.nico202 ];
|
2014-11-28 00:34:17 +01:00
|
|
|
};
|
|
|
|
}
|