keeperrl: alpha28 -> alpha34
This commit is contained in:
parent
37b95c8d49
commit
8b713a9958
1 changed files with 25 additions and 13 deletions
|
@ -1,17 +1,27 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, requireFile
|
{ lib
|
||||||
, openal, curl, libogg, libvorbis
|
, stdenv
|
||||||
, SDL2, SDL2_image, zlib
|
, fetchFromGitHub
|
||||||
|
, requireFile
|
||||||
|
, openal
|
||||||
|
, curl
|
||||||
|
, libogg
|
||||||
|
, libvorbis
|
||||||
|
, SDL2
|
||||||
|
, SDL2_image
|
||||||
|
, zlib
|
||||||
|
, clang
|
||||||
|
, libtheora
|
||||||
, unfree_assets ? false }:
|
, unfree_assets ? false }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "keeperrl";
|
pname = "keeperrl";
|
||||||
version = "alpha28";
|
version = "alpha34";
|
||||||
|
|
||||||
free-src = fetchFromGitHub {
|
free-src = fetchFromGitHub {
|
||||||
owner = "miki151";
|
owner = "miki151";
|
||||||
repo = "keeperrl";
|
repo = "keeperrl";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0isj8ijn5a89m2r5cxk4lcsq0cydx7c0h87vgr8v5cndm3rd27cy";
|
sha256 = "sha256-0sww+ppctXvxMouclG3OdXpcNgrrOZJw9z8s2GhJ+IE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
assets = if unfree_assets then requireFile rec {
|
assets = if unfree_assets then requireFile rec {
|
||||||
|
@ -28,7 +38,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
"nix-prefetch-url file://\$PWD/${name}".
|
"nix-prefetch-url file://\$PWD/${name}".
|
||||||
'';
|
'';
|
||||||
sha256 = "0115pxdzdyma2vicxgr0j21pp82gxdyrlj090s8ihp0b50f0nk53";
|
sha256 = "0115pxdzdyma2vicxgr0j21pp82gxdyrlj090s8ihp0b50f0nlll";
|
||||||
} else null;
|
} else null;
|
||||||
|
|
||||||
sourceRoot = "source";
|
sourceRoot = "source";
|
||||||
|
@ -40,7 +50,7 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
openal curl libogg libvorbis SDL2 SDL2_image zlib
|
openal curl libogg libvorbis libtheora SDL2 SDL2_image zlib clang
|
||||||
];
|
];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = [
|
NIX_CFLAGS_COMPILE = [
|
||||||
|
@ -49,11 +59,13 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
makeFlags = [ "OPT=true"
|
makeFlags = [
|
||||||
"RELEASE=true"
|
"OPT=true"
|
||||||
"DATA_DIR=$(out)/share"
|
"RELEASE=true"
|
||||||
"ENABLE_LOCAL_USER_DIR=true"
|
"DATA_DIR=$(out)/share"
|
||||||
];
|
"ENABLE_LOCAL_USER_DIR=true"
|
||||||
|
"NO_STEAMWORKS=true"
|
||||||
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -Dm755 keeper $out/bin/keeper
|
install -Dm755 keeper $out/bin/keeper
|
||||||
|
@ -68,7 +80,7 @@ stdenv.mkDerivation rec {
|
||||||
description = "A dungeon management rogue-like";
|
description = "A dungeon management rogue-like";
|
||||||
homepage = "https://keeperrl.com/";
|
homepage = "https://keeperrl.com/";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ onny ];
|
||||||
# TODO: Add OS X
|
# TODO: Add OS X
|
||||||
platforms = [ "i686-linux" "x86_64-linux" ];
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue