pokeyellow: init at unstable-2021-06-20

This commit is contained in:
Simon Bruder 2021-08-07 11:06:30 +02:00
parent 76d00c4345
commit 791d40b4ab
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
2 changed files with 31 additions and 0 deletions

View file

@ -5,5 +5,7 @@ final: prev: {
# official (chronological order)
red = prev.callPackage ./pokered { };
yellow = prev.callPackage ./pokeyellow { };
};
}

29
pokeyellow/default.nix Normal file
View 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 ];
};
}