2022-06-16 17:23:12 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, unstableGitUpdater
|
|
|
|
, cmake
|
|
|
|
, zlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "vgmtools";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "unstable-2023-01-27";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vgmrips";
|
|
|
|
repo = "vgmtools";
|
2023-02-02 18:25:31 +00:00
|
|
|
rev = "fc55484b5902191e5467e6044bb90c1c74a0c938";
|
|
|
|
sha256 = "Ho0yYoe1TIlVxMauz/harP1xSw42wdcklj/O6fA+VEk=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
zlib
|
|
|
|
];
|
|
|
|
|
|
|
|
# Some targets are not enabled by default
|
|
|
|
makeFlags = [
|
|
|
|
"all" "opt_oki" "optdac" "optvgm32"
|
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|