1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00
nixpkgs/pkgs/games/0ad/data.nix

25 lines
660 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
2014-06-18 22:18:53 +01:00
stdenv.mkDerivation rec {
name = "0ad-data-${version}";
version = "0.0.20";
2014-06-18 22:18:53 +01:00
src = fetchurl {
url = "http://releases.wildfiregames.com/0ad-${version}-alpha-unix-data.tar.xz";
2016-04-30 13:46:45 +01:00
sha256 = "1lzl8chfqbgs1n9vpn0xaqd70kpwiibfk196iblyq6qkms3v6pnv";
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";
homepage = "http://wildfiregames.com/0ad/";
license = licenses.cc-by-sa-30;
platforms = platforms.linux;
};
2014-06-18 22:18:53 +01:00
}