NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.48k stars 13.67k forks source link

Package request: bizhawk #301131

Open keenanweaver opened 5 months ago

keenanweaver commented 5 months ago

Project description

BizHawk is a multi-platform emulator with full rerecording support and Lua scripting. BizHawk focuses on core accuracy and power user tools while still being an easy-to-use emulator for casual gaming.

Metadata


Add a :+1: reaction to issues you find important.

WillemToorenburgh commented 1 week ago

As a relative Nix/NixOS noob, I'd be interested in giving this a shot. Interestingly, the one(?) maintainer for the project who does Linux support has also put in Nix files: a default.nix and a shell.nix. If there's any known guidance on how to use existing Nix files as a basis for a NixPkgs submission, I'd very much appreciate it! I'll do some searching in the meantime.

WillemToorenburgh commented 1 week ago

Turns out they've already got some pretty extensive Nix usage in the repo! Of particular note is Dist/packages.nix, which looks to be a pretty complete derivation definition. I wonder if just wholesale copying that file would be enough for NixPkgs... I feel like doing so would just be stealing/misappropriating @YoshiRulz 's fine work.

YoshiRulz commented 1 week ago

Not at all! You're welcome to re-use any of that for inclusion in Nixpkgs. I haven't done it because I don't think it would fit the contribution guidelines. (And that's partly because I wanted to keep historic versions usable from master, while Nixpkgs expects you to pin it.)

And as you say, we do already have a working setup checked-in to our repo. Anyone watching this thread who just wants to run EmuHawk can go to https://github.com/TASEmulators/BizHawk#nixnixos to get started.