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