9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
44 lines
1.1 KiB
Nix
44 lines
1.1 KiB
Nix
{ lib, stdenv, fetchFromGitHub, libjack2, libGL, pkg-config, xorg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dragonfly-reverb";
|
|
version = "3.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "michaelwillis";
|
|
repo = "dragonfly-reverb";
|
|
rev = version;
|
|
sha256 = "0vfm2510shah67k87mdyar4wr4vqwii59y9lqfhwm6blxparkrqa";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
patchPhase = ''
|
|
patchShebangs dpf/utils/generate-ttl.sh
|
|
'';
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [
|
|
libjack2 xorg.libX11 libGL
|
|
];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
mkdir -p $out/lib/lv2/
|
|
mkdir -p $out/lib/vst/
|
|
cd bin
|
|
for bin in DragonflyEarlyReflections DragonflyPlateReverb DragonflyHallReverb DragonflyRoomReverb; do
|
|
cp -a $bin $out/bin/
|
|
cp -a $bin-vst.so $out/lib/vst/
|
|
cp -a $bin.lv2/ $out/lib/lv2/ ;
|
|
done
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/michaelwillis/dragonfly-reverb";
|
|
description = "A hall-style reverb based on freeverb3 algorithms";
|
|
maintainers = [ maintainers.magnetophon ];
|
|
license = licenses.gpl3;
|
|
platforms = ["x86_64-linux"];
|
|
};
|
|
}
|