nixpkgs/pkgs/applications/audio/drumgizmo/default.nix

39 lines
1.2 KiB
Nix
Raw Normal View History

2020-06-05 12:11:32 +01:00
{ stdenv, fetchurl, fetchpatch, alsaLib, expat, glib, libjack2, libXext, libX11, libpng
2016-01-06 13:27:22 +00:00
, libpthreadstubs, libsmf, libsndfile, lv2, pkgconfig, zita-resampler
}:
stdenv.mkDerivation rec {
2019-11-02 23:19:57 +00:00
version = "0.9.18.1";
pname = "drumgizmo";
src = fetchurl {
url = "https://www.drumgizmo.org/releases/${pname}-${version}/${pname}-${version}.tar.gz";
2019-11-02 23:19:57 +00:00
sha256 = "0bpbkzcr3znbwfdk79c14n5k5hh80iqlk2nc03q95vhimbadk8k7";
};
2020-06-05 12:11:32 +01: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;
})
];
configureFlags = [ "--enable-lv2" ];
buildInputs = [
2017-07-02 10:40:22 +01:00
alsaLib expat glib libjack2 libXext libX11 libpng libpthreadstubs
libsmf libsndfile lv2 pkgconfig zita-resampler
];
meta = with stdenv.lib; {
description = "An LV2 sample based drum plugin";
homepage = "https://www.drumgizmo.org";
2016-03-24 21:57:20 +00:00
license = licenses.lgpl3;
platforms = platforms.linux;
2016-01-06 13:27:22 +00:00
maintainers = [ maintainers.goibhniu maintainers.nico202 ];
};
}