duckmarines: fix build
Actually updated to 1.0c. Prevent hydra from building it.
This commit is contained in:
parent
c1d65d680b
commit
d918001898
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, unzip, love, lua, makeWrapper, makeDesktopItem }:
|
{ stdenv, fetchurl, love, lua, makeWrapper, makeDesktopItem }:
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "duckmarines";
|
pname = "duckmarines";
|
||||||
|
@ -25,21 +25,21 @@ stdenv.mkDerivation rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/SimonLarsen/${pname}/releases/download/v${version}/${pname}-1.0-love.zip";
|
url = "https://github.com/SimonLarsen/${pname}/releases/download/v${version}/${pname}-1.0c.love";
|
||||||
sha256 = "0fpzbsgrhbwm1lff9gyzh6c9jigw328ngddvrj5w7qmjcm2lv6lv";
|
sha256 = "1rvgpkvi4h9zhc4fwb4knhsa789yjcx4a14fi4vqfdyybhvg5sh9";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper unzip ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ lua love ];
|
buildInputs = [ lua love ];
|
||||||
|
|
||||||
phases = [ "unpackPhase" "installPhase" ];
|
phases = [ "installPhase" ];
|
||||||
|
|
||||||
installPhase =
|
installPhase =
|
||||||
''
|
''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
mkdir -p $out/share/games/lovegames
|
mkdir -p $out/share/games/lovegames
|
||||||
|
|
||||||
cp -v ./${pname}-1.0.love $out/share/games/lovegames/${pname}.love
|
cp -v ${src} $out/share/games/lovegames/${pname}.love
|
||||||
|
|
||||||
makeWrapper ${love}/bin/love $out/bin/${pname} --add-flags $out/share/games/lovegames/${pname}.love
|
makeWrapper ${love}/bin/love $out/bin/${pname} --add-flags $out/share/games/lovegames/${pname}.love
|
||||||
|
|
||||||
|
@ -52,6 +52,7 @@ stdenv.mkDerivation rec {
|
||||||
description = "Duck-themed action puzzle video game";
|
description = "Duck-themed action puzzle video game";
|
||||||
maintainers = with maintainers; [ leenaars ];
|
maintainers = with maintainers; [ leenaars ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
hydraPlatforms = [];
|
||||||
license = licenses.free;
|
license = licenses.free;
|
||||||
downloadPage = http://tangramgames.dk/games/duckmarines;
|
downloadPage = http://tangramgames.dk/games/duckmarines;
|
||||||
};
|
};
|
||||||
|
|
|
@ -20694,7 +20694,7 @@ in
|
||||||
|
|
||||||
drumkv1 = callPackage ../applications/audio/drumkv1 { };
|
drumkv1 = callPackage ../applications/audio/drumkv1 { };
|
||||||
|
|
||||||
duckmarines = callPackage ../games/duckmarines { love = love_0_9; };
|
duckmarines = callPackage ../games/duckmarines { love = love_0_10; };
|
||||||
|
|
||||||
dwarf-fortress-packages = recurseIntoAttrs (callPackage ../games/dwarf-fortress { });
|
dwarf-fortress-packages = recurseIntoAttrs (callPackage ../games/dwarf-fortress { });
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue