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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
744 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, zeroad-unwrapped }:
2014-06-18 22:18:53 +01:00
stdenv.mkDerivation rec {
pname = "0ad-data";
2018-05-20 20:32:03 +01:00
inherit (zeroad-unwrapped) version;
2014-06-18 22:18:53 +01:00
src = fetchurl {
url = "http://releases.wildfiregames.com/0ad-${version}-alpha-unix-data.tar.xz";
2021-08-29 16:47:04 +01:00
sha256 = "1c9zrddmjxvvacismld6fbwbw9vrdbq6g6d3424p8w5p6xg5wlwy";
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 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;
2021-04-16 17:42:32 +01:00
maintainers = with maintainers; [ chvp ];
platforms = platforms.linux;
hydraPlatforms = [];
};
2014-06-18 22:18:53 +01:00
}