2022-03-02 14:47:37 +01:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, unstableGitUpdater
|
|
|
|
, cmake
|
|
|
|
, zlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "vgmtools";
|
2023-04-27 14:51:21 +02:00
|
|
|
version = "unstable-2023-04-17";
|
2022-03-02 14:47:37 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vgmrips";
|
|
|
|
repo = "vgmtools";
|
2023-04-27 14:51:21 +02:00
|
|
|
rev = "894fb43d584e31efe0c7070ba9b6b85938012745";
|
|
|
|
sha256 = "BGL7Lm6U1QdYZgEnn9tGgY+z8Fhjj+Sd2Cesn1sxWhY=";
|
2022-03-02 14:47:37 +01: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;
|
|
|
|
};
|
|
|
|
}
|