pari: 2.15.5 -> 2.17.1 (#348442)
[NixPkgs.git] / pkgs / by-name / so / soundfont-generaluser / package.nix
blobdf1a24af958951e8ef8f2b45d3418e4ed6ce22d3
2   lib,
3   stdenv,
4   fetchzip,
5 }:
7 stdenv.mkDerivation rec {
8   pname = "generaluser";
9   version = "1.471";
11   # we can't use fetchurl since stdenv does not handle unpacking *.zip's by default.
12   src = fetchzip {
13     # Linked on https://www.schristiancollins.com/generaluser.php:
14     url = "https://www.dropbox.com/s/4x27l49kxcwamp5/GeneralUser_GS_${version}.zip";
15     sha256 = "sha256-lwUlWubXiVZ8fijKuNF54YQjT0uigjNAbjKaNjmC51s=";
16   };
18   installPhase = ''
19     install -Dm644 GeneralUser*.sf2 $out/share/soundfonts/GeneralUser-GS.sf2
20   '';
22   meta = with lib; {
23     description = "SoundFont bank featuring 259 instrument presets and 11 drum kits";
24     homepage = "https://www.schristiancollins.com/generaluser.php";
25     license = licenses.generaluser;
26     platforms = platforms.all;
27     maintainers = [ ];
28   };