nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 25 lines 830 B view raw
1{ lib, stdenv, fetchzip }: 2 3stdenv.mkDerivation rec { 4 pname = "generaluser"; 5 version = "1.471"; 6 7 # we can't use fetchurl since stdenv does not handle unpacking *.zip's by default. 8 src = fetchzip { 9 # Linked on http://www.schristiancollins.com/generaluser.php: 10 url = "https://www.dropbox.com/s/4x27l49kxcwamp5/GeneralUser_GS_${version}.zip"; 11 sha256 = "sha256-lwUlWubXiVZ8fijKuNF54YQjT0uigjNAbjKaNjmC51s="; 12 }; 13 14 installPhase = '' 15 install -Dm644 GeneralUser*.sf2 $out/share/soundfonts/GeneralUser-GS.sf2 16 ''; 17 18 meta = with lib; { 19 description = "a SoundFont bank featuring 259 instrument presets and 11 drum kits"; 20 homepage = "http://www.schristiancollins.com/generaluser.php"; 21 license = licenses.generaluser; 22 platforms = platforms.all; 23 maintainers = with maintainers; [ ckie ]; 24 }; 25}