Skip to content

Commit

Permalink
n64recomp: init at 0-unstable-2024-09-15
Browse files Browse the repository at this point in the history
  • Loading branch information
qubitnano committed Nov 10, 2024
1 parent 43fa5ea commit af2bc45
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions pkgs/by-name/n6/n64recomp/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
lib,
stdenv,
cmake,
fetchFromGitHub,
unstableGitUpdater,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "n64recomp";
version = "0-unstable-2024-09-15";

src = fetchFromGitHub {
owner = "N64Recomp";
repo = "N64Recomp";
rev = "d33d38161798167929b114c2b0fd445f9670e10a";
hash = "sha256-IFGWQ57kHWxqmeHwX0vg6NoTvTqwr4S5/lyvB9I5Fi4=";
fetchSubmodules = true;
};

nativeBuildInputs = [ cmake ];

installPhase = ''
runHook preInstall
install -Dm755 -t $out/bin {N64Recomp,RSPRecomp}
install -Dm644 -t $out/share/licenses/${finalAttrs.pname} ../LICENSE
runHook postInstall
'';

passthru.updateScript = unstableGitUpdater { };

meta = {
description = "Tool to statically recompile N64 games into native executables";
homepage = "https://github.com/N64Recomp/N64Recomp";
license = with lib.licenses; [
# N64Recomp
mit

# reverse engineering
unfree
];
maintainers = with lib.maintainers; [ qubitnano ];
mainProgram = "N64Recomp";
platforms = lib.platforms.linux;
hydraPlatforms = [ ];
};
})

0 comments on commit af2bc45

Please sign in to comment.