2021-04-15 00:37:46 +00:00
|
|
|
{ lib, stdenv, fetchurl, alsaLib, 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 {
|
2021-04-15 00:37:46 +00:00
|
|
|
version = "0.9.19";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "drumgizmo";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.drumgizmo.org/releases/${pname}-${version}/${pname}-${version}.tar.gz";
|
2021-04-15 00:37:46 +00:00
|
|
|
sha256 = "18x28vhif0c97xz02k22xwqxxig6fi6j0356mlz2vf7vb25z69kl";
|
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 = [
|
|
|
|
alsaLib 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 ];
|
|
|
|
};
|
|
|
|
}
|