johnny-reborn: move to xesf fork
This commit is contained in:
parent
98b00b6947
commit
daac663012
2 changed files with 15 additions and 17 deletions
|
@ -4,35 +4,34 @@
|
|||
, SDL2
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "johnny-reborn-engine";
|
||||
version = "unstable-2020-12-06";
|
||||
version = "0.30";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jno6809";
|
||||
owner = "xesf";
|
||||
repo = "jc_reborn";
|
||||
rev = "524a5803e4fa65f840379c781f40ce39a927032e";
|
||||
hash = "sha256-YKAOCgdRnvNMzL6LJVXN0pLvjyJk4Zv/RCqGtDPFR90=";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-n3ELNFvjeDzbamyQIdM9mf/A1sstuhCGzrL9NuXf90Y=";
|
||||
};
|
||||
|
||||
makefile = "Makefile.linux";
|
||||
|
||||
buildInputs = [ SDL2 ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out
|
||||
cp jc_reborn $out/
|
||||
mkdir -p $out/bin
|
||||
cp jc_reborn $out/bin/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "An open-source engine for the classic \"Johnny Castaway\" screensaver (engine only)";
|
||||
homepage = "https://github.com/jno6809/jc_reborn";
|
||||
homepage = "https://github.com/xesf/jc_reborn";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ pedrohlc ];
|
||||
mainProgram = "jc_reborn";
|
||||
inherit (SDL2.meta) platforms;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
, makeWrapper
|
||||
}:
|
||||
|
||||
|
||||
let
|
||||
sounds = fetchFromGitHub {
|
||||
owner = "nivs1978";
|
||||
|
@ -39,15 +38,15 @@ stdenvNoCC.mkDerivation {
|
|||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out
|
||||
cp -t $out/ \
|
||||
mkdir -p $out/share/jc_reborn/data
|
||||
cp -t $out/share/jc_reborn/data/ \
|
||||
../scrantic-source/RESOURCE.* \
|
||||
JCOS/Resources/sound*.wav
|
||||
|
||||
makeWrapper \
|
||||
${johnny-reborn-engine}/jc_reborn \
|
||||
$out/jc_reborn \
|
||||
--chdir $out
|
||||
${johnny-reborn-engine}/bin/jc_reborn \
|
||||
$out/bin/jc_reborn \
|
||||
--chdir $out/share/jc_reborn
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
@ -56,6 +55,6 @@ stdenvNoCC.mkDerivation {
|
|||
description = "An open-source engine for the classic \"Johnny Castaway\" screensaver (ready to use, with resources)";
|
||||
license = lib.licenses.unfree;
|
||||
maintainers = with lib.maintainers; [ pedrohlc ];
|
||||
inherit (johnny-reborn-engine.meta) homepage platforms;
|
||||
inherit (johnny-reborn-engine.meta) homepage platforms mainProgram;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue