3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/0ad/data.nix

26 lines
676 B
Nix
Raw Normal View History

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