Files
nixpkgs/pkgs/by-name/dr/drumgizmo/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

67 lines
1.2 KiB
Nix

{
lib,
stdenv,
fetchurl,
fetchDebianPatch,
alsa-lib,
expat,
glib,
libjack2,
libXext,
libX11,
libpng,
libpthreadstubs,
libsmf,
libsndfile,
lv2,
pkg-config,
zita-resampler,
}:
stdenv.mkDerivation rec {
version = "0.9.20";
pname = "drumgizmo";
src = fetchurl {
url = "https://www.drumgizmo.org/releases/${pname}-${version}/${pname}-${version}.tar.gz";
sha256 = "sha256-AF8gQLiB29j963uI84TyNHIC0qwEWOCqmZIUWGq8V2o=";
};
patches = [
(fetchDebianPatch {
pname = "drumgizmo";
version = "0.9.20";
debianRevision = "3";
patch = "0005-fix_ftbfs_with_gcc13.patch";
hash = "sha256-y5NDZ+3t6GkBeF/5UY8dwtH8k0cuM+5SGBGPSV7AX7M=";
})
];
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 = "LV2 sample based drum plugin";
homepage = "https://www.drumgizmo.org";
license = licenses.lgpl3Plus;
platforms = platforms.linux;
maintainers = [ maintainers.nico202 ];
};
}