mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 04:53:27 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
41 lines
1.1 KiB
Nix
41 lines
1.1 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 ];
|
|
};
|
|
}
|