git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #136695 from magnetophon/surge-XT
commit982231df62a74b3226d23da65f7f12839d54037e authorSandro <sandro.jaeckel@gmail.com> dateThu 11 Nov 2021, 14:18 (5 years ago) parentaabb663d9e363c
2 files changed+35
pkgs/applications/audio/surge-XT/default.nix+33 pkgs/top-level/all-packages.nix+2
pkgs/applications/audio/surge-XT/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, cairo, libxkbcommon, xcbutilcursor, xcbutilkeysyms, xcbutil, libXrandr, libXinerama, libXcursor, alsa-lib, libjack2
2+}:
3+
4+stdenv.mkDerivation rec {
5+ pname = "surge-XT";
6+ version = "unstable-2021-11-07";
7+
8+ src = fetchFromGitHub {
9+ owner = "surge-synthesizer";
10+ repo = "surge";
11+ rev = "ed93833eb44b177c977e3a7b878ffdd9bf9f24e5";
12+ sha256 = "0b164659ksl6h5nn7jja5zccx2mwzibqs6b7hg8l98gpcy9fi5r2";
13+ fetchSubmodules = true;
14+ };
15+
16+ nativeBuildInputs = [ cmake pkg-config ];
17+ buildInputs = [ cairo libxkbcommon xcbutilcursor xcbutilkeysyms xcbutil libXrandr libXinerama libXcursor alsa-lib libjack2 ];
18+
19+ installPhase = ''
20+ cd ..
21+ cmake --build build --config Release --target install
22+ '';
23+
24+ doInstallCheck = false;
25+
26+ meta = with lib; {
27+ description = "LV2 & VST3 synthesizer plug-in (previously released as Vember Audio Surge)";
28+ homepage = "https://surge-synthesizer.github.io";
29+ license = licenses.gpl3;
30+ platforms = [ "x86_64-linux" ];
31+ maintainers = with maintainers; [ magnetophon orivej ];
32+ };
33+}
pkgs/top-level/all-packages.nix+2
@@ -28169,6 +28169,8 @@ with pkgs;
2816928169 git = gitMinimal;
2817028170 };
2817128171
28172+ surge-XT = callPackage ../applications/audio/surge-XT { };
28173+
2817228174 survex = callPackage ../applications/misc/survex {
2817328175 inherit (darwin.apple_sdk.frameworks) Carbon Cocoa;
2817428176 };