summary refs log tree commit diff
path: root/pkgs/by-name
diff options
context:
space:
mode:
authormrtnvgr <root@unixis.fun>2023-10-30 12:01:22 +0700
committermrtnvgr <root@unixis.fun>2023-10-30 12:01:22 +0700
commit11e6b38444ddef9e59da36972c641f21c2a9b6d3 (patch)
tree2438a1c76d92156dfd853e93427c4e98c46b24a3 /pkgs/by-name
parentb5f97b03a312d72bc19da535a504f25db481139e (diff)
downloadnixpkgs-11e6b38444ddef9e59da36972c641f21c2a9b6d3.tar
nixpkgs-11e6b38444ddef9e59da36972c641f21c2a9b6d3.tar.gz
nixpkgs-11e6b38444ddef9e59da36972c641f21c2a9b6d3.tar.bz2
nixpkgs-11e6b38444ddef9e59da36972c641f21c2a9b6d3.tar.lz
nixpkgs-11e6b38444ddef9e59da36972c641f21c2a9b6d3.tar.xz
nixpkgs-11e6b38444ddef9e59da36972c641f21c2a9b6d3.tar.zst
nixpkgs-11e6b38444ddef9e59da36972c641f21c2a9b6d3.zip
soundfont-arachno: init at 1.0
Diffstat (limited to 'pkgs/by-name')
-rw-r--r--pkgs/by-name/so/soundfont-arachno/package.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/by-name/so/soundfont-arachno/package.nix b/pkgs/by-name/so/soundfont-arachno/package.nix
new file mode 100644
index 00000000000..1bfcad7fdc4
--- /dev/null
+++ b/pkgs/by-name/so/soundfont-arachno/package.nix
@@ -0,0 +1,27 @@
+{ lib, stdenvNoCC, fetchzip }:
+
+stdenvNoCC.mkDerivation rec {
+  pname = "soundfont-arachno";
+  version = "1.0";
+
+  src = fetchzip {
+    # Linked on http://www.arachnosoft.com/main/download.php?id=soundfont-sf2:
+    url = "https://www.dropbox.com/s/2rnpya9ecb9m4jh/arachno-soundfont-${builtins.replaceStrings ["."] [""] version}-sf2.zip";
+    hash = "sha256-Z5ETe0AKPCi4KlM2xOlNcyQn1xvCuor3S/tcrF+AwNQ=";
+    stripRoot = false;
+  };
+
+  installPhase = ''
+    runHook preInstall
+    install -Dm444 Arachno*.sf2 $out/share/soundfonts/arachno.sf2
+    runHook postInstall
+  '';
+
+  meta = with lib; {
+    description = "General MIDI-compliant bank, aimed at enhancing the realism of your MIDI files and arrangements";
+    homepage = "http://www.arachnosoft.com/main/soundfont.php";
+    license = licenses.unfree;
+    platforms = platforms.all;
+    maintainers = with maintainers; [ mrtnvgr ];
+  };
+}