pokecrystal: init at unstable-2021-07-20
This commit is contained in:
parent
07f0431874
commit
a6488246b2
|
@ -10,6 +10,8 @@ final: prev: {
|
||||||
|
|
||||||
gold = prev.callPackage ./pokegold { };
|
gold = prev.callPackage ./pokegold { };
|
||||||
|
|
||||||
|
crystal = prev.callPackage ./pokecrystal { };
|
||||||
|
|
||||||
all = prev.callPackage ./pokeall { };
|
all = prev.callPackage ./pokeall { };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
31
pokecrystal/default.nix
Normal file
31
pokecrystal/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ lib, stdenv, fetchFromGitHub, rgbds }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "pokecrystal";
|
||||||
|
version = "unstable-2021-07-20";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "pret";
|
||||||
|
repo = pname;
|
||||||
|
rev = "d93c13c94c3680bace68ee2333dd81b1efad1734";
|
||||||
|
sha256 = "sha256-x1sVaZVmZP9iX7jkXhh4owGdzcQ8+wwDrV6VkfhtBVk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ rgbds ];
|
||||||
|
|
||||||
|
makeFlags = [ "crystal" "crystal11" ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p $out
|
||||||
|
cp pokecrystal{,11}.gbc $out
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "ROM built from disassembly of Pokémon Crystal";
|
||||||
|
homepage = "https://github.com/pret/pokcrystal";
|
||||||
|
license = licenses.unfree;
|
||||||
|
maintainers = with maintainers; [ sbruder ];
|
||||||
|
};
|
||||||
|
}
|
Reference in a new issue