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

20 lines
466 B
Nix
Raw Normal View History

2014-06-18 22:18:53 +01:00
{ stdenv, fetchurl, version, releaseType }:
stdenv.mkDerivation rec {
name = "0ad-data-${version}";
src = fetchurl {
url = "http://releases.wildfiregames.com/0ad-${version}-${releaseType}-unix-data.tar.xz";
2015-08-28 22:34:22 +01:00
sha256 = "0i5cf4n9qhzbi6hvw5lxapind24qpqfq6p5lrhx8gb25p670g95i";
2014-06-18 22:18:53 +01:00
};
patchPhase = ''
rm binaries/data/tools/fontbuilder/fonts/*.txt
'';
installPhase = ''
mkdir -p $out/share/0ad
cp -r binaries/data/* $out/share/0ad/
'';
}