2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-30 17:43:42 +00:00
nixpkgs/pkgs/games/0ad/data.nix

26 lines
700 B
Nix
Raw Normal View History

2018-05-20 19:32:03 +00:00
{ stdenv, fetchurl, zeroad-unwrapped }:
2014-06-18 21:18:53 +00:00
stdenv.mkDerivation rec {
pname = "0ad-data";
2018-05-20 19:32:03 +00:00
inherit (zeroad-unwrapped) version;
2014-06-18 21:18:53 +00:00
src = fetchurl {
url = "http://releases.wildfiregames.com/0ad-${version}-alpha-unix-data.tar.xz";
2019-01-10 20:03:08 +00:00
sha256 = "04x7729hk6zw1xj3n4s4lvaviijsnbjf5rhzvjxlr5fygvg4l6z1";
2014-06-18 21:18:53 +00:00
};
installPhase = ''
rm binaries/data/tools/fontbuilder/fonts/*.txt
2014-06-18 21:18:53 +00:00
mkdir -p $out/share/0ad
cp -r binaries/data $out/share/0ad/
2014-06-18 21:18:53 +00:00
'';
meta = with stdenv.lib; {
description = "A free, open-source game of ancient warfare -- data files";
2017-10-22 22:19:28 +00:00
homepage = "https://play0ad.com/";
license = licenses.cc-by-sa-30;
platforms = platforms.linux;
hydraPlatforms = [];
};
2014-06-18 21:18:53 +00:00
}