pokegold: init at unstable-2021-07-20
This commit is contained in:
parent
21875f2d3d
commit
07f0431874
|
@ -8,6 +8,8 @@ final: prev: {
|
|||
|
||||
yellow = prev.callPackage ./pokeyellow { };
|
||||
|
||||
gold = prev.callPackage ./pokegold { };
|
||||
|
||||
all = prev.callPackage ./pokeall { };
|
||||
};
|
||||
}
|
||||
|
|
29
pokegold/default.nix
Normal file
29
pokegold/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchFromGitHub, rgbds }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pokegold";
|
||||
version = "unstable-2021-07-20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pret";
|
||||
repo = pname;
|
||||
rev = "c91db56f422a6604d00a2df4e8c9f14879f70928";
|
||||
sha256 = "sha256-OenoCmPgVfTpS4oOFaEXFGP+1ebVHnnMsCcOm3G7VUA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ rgbds ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out
|
||||
cp poke{gold,silver}.gbc $out
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "ROM built from disassembly of Pokémon Gold/Silver";
|
||||
homepage = "https://github.com/pret/pokegold";
|
||||
license = licenses.unfree;
|
||||
maintainers = with maintainers; [ sbruder ];
|
||||
};
|
||||
}
|
Reference in a new issue