about summary refs log tree commit diff
path: root/pkgs/tools/audio/opl3bankeditor/opn2bankeditor.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/audio/opl3bankeditor/opn2bankeditor.nix')
-rw-r--r--pkgs/tools/audio/opl3bankeditor/opn2bankeditor.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/tools/audio/opl3bankeditor/opn2bankeditor.nix b/pkgs/tools/audio/opl3bankeditor/opn2bankeditor.nix
new file mode 100644
index 000000000000..b79dfeb12d80
--- /dev/null
+++ b/pkgs/tools/audio/opl3bankeditor/opn2bankeditor.nix
@@ -0,0 +1,19 @@
+{ stdenv, opl3bankeditor, fetchFromGitHub, fetchpatch }:
+
+opl3bankeditor.overrideAttrs (oldAttrs: rec {
+  version = "1.3-beta";
+  pname = "OPN2BankEditor";
+
+  src = fetchFromGitHub {
+    owner = "Wohlstand";
+    repo = pname;
+    rev = version;
+    sha256 = "0blcvqfj1yj6cmm079aw4jdzv3066jxqy9krp268i6cl2b3bmwvw";
+    fetchSubmodules = true;
+  };
+
+  # to be removed with next release
+  postInstall = ''
+    install -Dm755 opn2_bank_editor $out/bin/opn2_bank_editor
+  '';
+})