1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/pkgs/games/0ad/data.nix
2016-11-05 14:45:40 +03:00

26 lines
685 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "0ad-data-${version}";
version = "0.0.20";
src = fetchurl {
url = "http://releases.wildfiregames.com/0ad-${version}-alpha-unix-data.tar.xz";
sha256 = "1lzl8chfqbgs1n9vpn0xaqd70kpwiibfk196iblyq6qkms3v6pnv";
};
installPhase = ''
rm binaries/data/tools/fontbuilder/fonts/*.txt
mkdir -p $out/share/0ad
cp -r binaries/data $out/share/0ad/
'';
meta = with stdenv.lib; {
description = "A free, open-source game of ancient warfare -- data files";
homepage = "http://wildfiregames.com/0ad/";
license = licenses.cc-by-sa-30;
platforms = platforms.linux;
hydraPlatforms = [];
};
}