pokeyellow: init at unstable-2021-06-20
This commit is contained in:
parent
76d00c4345
commit
791d40b4ab
|
@ -5,5 +5,7 @@ final: prev: {
|
||||||
# official (chronological order)
|
# official (chronological order)
|
||||||
|
|
||||||
red = prev.callPackage ./pokered { };
|
red = prev.callPackage ./pokered { };
|
||||||
|
|
||||||
|
yellow = prev.callPackage ./pokeyellow { };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
29
pokeyellow/default.nix
Normal file
29
pokeyellow/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ lib, stdenv, fetchFromGitHub, rgbds }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "pokeyellow";
|
||||||
|
version = "unstable-2021-06-20";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "pret";
|
||||||
|
repo = pname;
|
||||||
|
rev = "45c039801916713e4066644086de4d4940d5fa1d";
|
||||||
|
sha256 = "sha256-ISyoABYFMnx55OmBfBmO7vDLVb9nH6Ppc2Wir6crmPg=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ rgbds ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p $out
|
||||||
|
cp pokeyellow.gbc $out
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "ROM built from disassembly of Pokémon Yellow";
|
||||||
|
homepage = "https://github.com/pret/pokeyellow";
|
||||||
|
license = licenses.unfree;
|
||||||
|
maintainers = with maintainers; [ sbruder ];
|
||||||
|
};
|
||||||
|
}
|
Reference in a new issue