nixpkgs-suyu/pkgs/tools/audio/vgmtools/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
926 B
Nix
Raw Normal View History

2022-03-02 14:47:37 +01:00
{ stdenv
, lib
, fetchFromGitHub
, unstableGitUpdater
, cmake
, zlib
}:
stdenv.mkDerivation rec {
pname = "vgmtools";
version = "unstable-2023-08-27";
2022-03-02 14:47:37 +01:00
src = fetchFromGitHub {
owner = "vgmrips";
repo = "vgmtools";
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 = [
"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;
};
}