Skip to content

Commit

Permalink
nihstro: init at 0-unstable-2024-05-5
Browse files Browse the repository at this point in the history
  • Loading branch information
getchoo committed Nov 16, 2024
1 parent e23fa8b commit 144d85f
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions pkgs/by-name/ni/nihstro/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
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;
};
})

0 comments on commit 144d85f

Please sign in to comment.