summary refs log tree commit diff
path: root/pkgs/by-name/so/soundfont-arachno/package.nix
blob: 1bfcad7fdc408551e97d6994c494f5ea66129d6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 ];
  };
}