depot/third_party/nixpkgs/pkgs/tools/audio/vgmtools/default.nix
Default email 1be0098156 Project import generated by Copybara.
GitOrigin-RevId: 667e5581d16745bcda791300ae7e2d73f49fff25
2022-11-04 13:27:35 +01:00

44 lines
931 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, unstableGitUpdater
, cmake
, zlib
}:
stdenv.mkDerivation rec {
pname = "vgmtools";
version = "unstable-2022-10-31";
src = fetchFromGitHub {
owner = "vgmrips";
repo = "vgmtools";
rev = "9d7a9f4b1c40d26949fa730987f6c3eb9cf3e3ec";
sha256 = "Joxlu+k8xaF90u+ydHhu6NpqGQAKL8r5u4qAsfVfOz8=";
};
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;
};
}