pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / games / 0ad / data.nix
blob92ebf574864689a68bb858313300b922ac70eb8c
1 { lib, stdenv, fetchurl, zeroad-unwrapped }:
3 stdenv.mkDerivation rec {
4   pname = "0ad-data";
5   inherit (zeroad-unwrapped) version;
7   src = fetchurl {
8     url = "http://releases.wildfiregames.com/0ad-${version}-alpha-unix-data.tar.xz";
9     sha256 = "sgDkhVj4goB5EOPGhlZ7ajliSNnUGAROz94JCwV3LX0=";
10   };
12   installPhase = ''
13     rm binaries/data/tools/fontbuilder/fonts/*.txt
14     mkdir -p $out/share/0ad
15     cp -r binaries/data $out/share/0ad/
16   '';
18   meta = with lib; {
19     description = "Free, open-source game of ancient warfare -- data files";
20     homepage = "https://play0ad.com/";
21     license = licenses.cc-by-sa-30;
22     maintainers = with maintainers; [ chvp ];
23     platforms = platforms.linux;
24     hydraPlatforms = [];
25   };