summary refs log tree commit diff
path: root/pkgs/applications/audio/surge-XT
diff options
context:
space:
mode:
authorBart Brouns <bart@magnetophon.nl>2021-09-04 15:40:48 +0200
committerBart Brouns <bart@magnetophon.nl>2021-11-07 22:47:23 +0100
commitd9e363ca12b62e1ae34460182f9514fbff1e8a77 (patch)
treea2c2829822ea88e37debc3f6b2117ad76f378e94 /pkgs/applications/audio/surge-XT
parent7fa8d14f504b679ef5f7605cbaa330536110cbd4 (diff)
surge-XT: init at unstable-2021-11-07
Diffstat (limited to 'pkgs/applications/audio/surge-XT')
-rw-r--r--pkgs/applications/audio/surge-XT/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/audio/surge-XT/default.nix b/pkgs/applications/audio/surge-XT/default.nix
new file mode 100644
index 0000000000000..6445723d7781c
--- /dev/null
+++ b/pkgs/applications/audio/surge-XT/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, cairo, libxkbcommon, xcbutilcursor, xcbutilkeysyms, xcbutil, libXrandr, libXinerama, libXcursor, alsa-lib, libjack2
+}:
+
+stdenv.mkDerivation rec {
+  pname = "surge-XT";
+  version = "unstable-2021-11-07";
+
+  src = fetchFromGitHub {
+    owner = "surge-synthesizer";
+    repo = "surge";
+    rev = "ed93833eb44b177c977e3a7b878ffdd9bf9f24e5";
+    sha256 = "0b164659ksl6h5nn7jja5zccx2mwzibqs6b7hg8l98gpcy9fi5r2";
+    fetchSubmodules = true;
+  };
+
+  nativeBuildInputs = [ cmake pkg-config ];
+  buildInputs = [ cairo libxkbcommon xcbutilcursor xcbutilkeysyms xcbutil libXrandr libXinerama libXcursor alsa-lib libjack2 ];
+
+  installPhase = ''
+    cd ..
+    cmake --build build --config Release --target install
+  '';
+
+  doInstallCheck = false;
+
+  meta = with lib; {
+    description = "LV2 & VST3 synthesizer plug-in (previously released as Vember Audio Surge)";
+    homepage = "https://surge-synthesizer.github.io";
+    license = licenses.gpl3;
+    platforms = [ "x86_64-linux" ];
+    maintainers = with maintainers; [ magnetophon orivej ];
+  };
+}