2022-03-02 14:47:37 +01:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, unstableGitUpdater
|
|
|
|
, cmake
|
|
|
|
, zlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "vgmtools";
|
2023-08-28 10:47:53 +02:00
|
|
|
version = "unstable-2023-08-27";
|
2022-03-02 14:47:37 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vgmrips";
|
|
|
|
repo = "vgmtools";
|
2023-08-28 10:47:53 +02:00
|
|
|
rev = "7b7f2041e346f0d4fff8c834a763edc4f4d88896";
|
|
|
|
hash = "sha256-L52h94uohLMnj29lZj+i9hM8n9hIYo20nRS8RCW8npY=";
|
2022-03-02 14:47:37 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
zlib
|
|
|
|
];
|
|
|
|
|
|
|
|
# Some targets are not enabled by default
|
|
|
|
makeFlags = [
|
2023-06-18 23:45:14 +02:00
|
|
|
"all" "optdac" "optvgm32"
|
2022-03-02 14:47:37 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
|
|
url = "https://github.com/vgmrips/vgmtools.git";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/vgmrips/vgmtools";
|
|
|
|
description = "A collection of tools for the VGM file format";
|
|
|
|
license = licenses.gpl2; # Not clarified whether Only or Plus
|
|
|
|
maintainers = with maintainers; [ OPNA2608 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|