mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
[Backport release-24.11] nihstro: init at 0-unstable-2024-05-05 (#356711)
This commit is contained in:
commit
41c3bbea24
47
pkgs/by-name/ni/nihstro/package.nix
Normal file
47
pkgs/by-name/ni/nihstro/package.nix
Normal file
@ -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;
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user