Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
48 lines
968 B
Nix
48 lines
968 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
boost,
|
|
cmake,
|
|
fetchFromGitHub,
|
|
ninja,
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "nihstro";
|
|
version = "0-unstable-2024-05-05";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "neobrain";
|
|
repo = "nihstro";
|
|
rev = "f4d8659decbfe5d234f04134b5002b82dc515a44";
|
|
hash = "sha256-ZHgWyZFW7t2VTibH7WeuU8+I12bb95I9NcHI5s4U3VU=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
ninja
|
|
];
|
|
|
|
buildInputs = [ boost ];
|
|
|
|
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
|
|
|
passthru = {
|
|
updateScript = unstableGitUpdater {
|
|
hardcodeZeroVersion = true;
|
|
};
|
|
};
|
|
|
|
meta = {
|
|
description = "3DS shader assembler and disassembler";
|
|
homepage = "https://github.com/neobrain/nihstro";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ getchoo ];
|
|
mainProgram = "nihstro-assemble";
|
|
platforms = lib.platforms.unix ++ lib.platforms.windows;
|
|
};
|
|
})
|