mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
delayarchitect: init at unstable-2022-01-16
This commit is contained in:
parent
676678f23f
commit
4400063cfa
40
pkgs/applications/audio/delayarchitect/default.nix
Normal file
40
pkgs/applications/audio/delayarchitect/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib, stdenv, fetchFromGitHub, libGL, libX11, libXext, libXrandr, libXinerama, libXcursor, freetype, alsa-lib, cmake, pkg-config, gcc-unwrapped }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "delayarchitect";
|
||||
version = "unstable-2022-01-16";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jpcima";
|
||||
repo = "DelayArchitect";
|
||||
rev = "5abf4dfb7f92ba604d591a2c388d2d69a9055fe3";
|
||||
sha256 = "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 = with lib; {
|
||||
homepage = "https://github.com/jpcima/DelayArchitect";
|
||||
description = "A visual, musical editor for delay effects";
|
||||
maintainers = [ maintainers.magnetophon ];
|
||||
platforms = platforms.all;
|
||||
license = licenses.gpl3Plus;
|
||||
};
|
||||
}
|
@ -1724,6 +1724,8 @@ with pkgs;
|
||||
|
||||
deltachat-cursed = callPackage ../applications/networking/instant-messengers/deltachat-cursed { };
|
||||
|
||||
delayarchitect = callPackage ../applications/audio/delayarchitect { };
|
||||
|
||||
deltachat-desktop = callPackage ../applications/networking/instant-messengers/deltachat-desktop {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user