about summary refs log tree commit diff
path: root/nixpkgs/pkgs/data/soundfonts/ydp-grand/default.nix
blob: 635b445f611531fec44fb9ddcf138689f58ff8d7 (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
{ lib, stdenv, fetchurl }:

stdenv.mkDerivation {
  pname = "ydp-grand";
  version = "unstable-2016-08-04";

  src = fetchurl {
    url = "https://freepats.zenvoid.org/Piano/YDP-GrandPiano/YDP-GrandPiano-SF2-20160804.tar.bz2";
    sha256 = "sha256-0kPcPhgqYN8qFukoKMGCHPPrV0i0Xi4r3Pqc968FYCY=";
  };

  installPhase = ''
    install -Dm644 YDP-GrandPiano-*.sf2 $out/share/soundfonts/YDP-GrandPiano.sf2
  '';

  meta = with lib; {
    description = "Acoustic grand piano soundfont";
    homepage = "https://freepats.zenvoid.org/Piano/acoustic-grand-piano.html";
    license = licenses.cc-by-30;
    platforms = platforms.all;
    maintainers = with maintainers; [ ckie ];
  };
}