mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
44 lines
932 B
Nix
44 lines
932 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, unstableGitUpdater
|
|
, cmake
|
|
, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "vgmtools";
|
|
version = "0.1-unstable-2023-08-27";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vgmrips";
|
|
repo = "vgmtools";
|
|
rev = "7b7f2041e346f0d4fff8c834a763edc4f4d88896";
|
|
hash = "sha256-L52h94uohLMnj29lZj+i9hM8n9hIYo20nRS8RCW8npY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
buildInputs = [
|
|
zlib
|
|
];
|
|
|
|
# Some targets are not enabled by default
|
|
makeFlags = [
|
|
"all" "optdac" "optvgm32"
|
|
];
|
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
url = "https://github.com/vgmrips/vgmtools.git";
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/vgmrips/vgmtools";
|
|
description = "Collection of tools for the VGM file format";
|
|
license = licenses.gpl2Only; # Not clarified whether Only or Plus
|
|
maintainers = with maintainers; [ OPNA2608 ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|