mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
66 lines
1.2 KiB
Nix
66 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
libGL,
|
|
libx11,
|
|
libxext,
|
|
libxrandr,
|
|
libxinerama,
|
|
libxcursor,
|
|
freetype,
|
|
alsa-lib,
|
|
cmake,
|
|
pkg-config,
|
|
gcc-unwrapped,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "delayarchitect";
|
|
version = "0-unstable-2022-01-16";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jpcima";
|
|
repo = "DelayArchitect";
|
|
rev = "5abf4dfb7f92ba604d591a2c388d2d69a9055fe3";
|
|
hash = "sha256-LoK2pYPLzyJF7tDJPRYer6gKHNYzvFvX/d99TuOPECo=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
libGL
|
|
libx11
|
|
libxext
|
|
libxrandr
|
|
libxinerama
|
|
libxcursor
|
|
freetype
|
|
alsa-lib
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DCMAKE_AR=${gcc-unwrapped}/bin/gcc-ar"
|
|
"-DCMAKE_RANLIB=${gcc-unwrapped}/bin/gcc-ranlib"
|
|
"-DCMAKE_NM=${gcc-unwrapped}/bin/gcc-nm"
|
|
];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/lib/vst3
|
|
cd DelayArchitect_artefacts/Release
|
|
cp -r VST3/Delay\ Architect.vst3 $out/lib/vst3
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://github.com/jpcima/DelayArchitect";
|
|
description = "Visual, musical editor for delay effects";
|
|
maintainers = [ lib.maintainers.magnetophon ];
|
|
platforms = lib.platforms.all;
|
|
license = lib.licenses.gpl3Plus;
|
|
};
|
|
}
|