nixpkgs-suyu/pkgs/applications/audio/drumgizmo/default.nix
2021-06-10 01:12:49 -03:00

30 lines
889 B
Nix

{ lib, stdenv, fetchurl, alsa-lib, expat, glib, libjack2, libXext, libX11, libpng
, libpthreadstubs, libsmf, libsndfile, lv2, pkg-config, zita-resampler
}:
stdenv.mkDerivation rec {
version = "0.9.19";
pname = "drumgizmo";
src = fetchurl {
url = "https://www.drumgizmo.org/releases/${pname}-${version}/${pname}-${version}.tar.gz";
sha256 = "18x28vhif0c97xz02k22xwqxxig6fi6j0356mlz2vf7vb25z69kl";
};
configureFlags = [ "--enable-lv2" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
alsa-lib expat glib libjack2 libXext libX11 libpng libpthreadstubs
libsmf libsndfile lv2 zita-resampler
];
meta = with lib; {
description = "An LV2 sample based drum plugin";
homepage = "https://www.drumgizmo.org";
license = licenses.lgpl3Plus;
platforms = platforms.linux;
maintainers = [ maintainers.goibhniu maintainers.nico202 ];
};
}