Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 47 lines 944 B view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 unstableGitUpdater, 6 cmake, 7 zlib, 8}: 9 10stdenv.mkDerivation { 11 pname = "vgmtools"; 12 version = "0.1-unstable-2025-04-05"; 13 14 src = fetchFromGitHub { 15 owner = "vgmrips"; 16 repo = "vgmtools"; 17 rev = "cd9fb6c0693b28ea2c18511aa6416637bc5c91f6"; 18 hash = "sha256-mdHGK2hru7F66lHQtEMpvys8ZzMQMGyzxvPj625bvn8="; 19 }; 20 21 nativeBuildInputs = [ 22 cmake 23 ]; 24 25 buildInputs = [ 26 zlib 27 ]; 28 29 # Some targets are not enabled by default 30 makeFlags = [ 31 "all" 32 "optdac" 33 "optvgm32" 34 ]; 35 36 passthru.updateScript = unstableGitUpdater { 37 url = "https://github.com/vgmrips/vgmtools.git"; 38 }; 39 40 meta = with lib; { 41 homepage = "https://github.com/vgmrips/vgmtools"; 42 description = "Collection of tools for the VGM file format"; 43 license = licenses.gpl2Only; # Not clarified whether Only or Plus 44 maintainers = with maintainers; [ OPNA2608 ]; 45 platforms = platforms.all; 46 }; 47}