09e0cc7cc7
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated https://repology.org/repository/nix_stable/problems
25 lines
684 B
Nix
25 lines
684 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "0ad-data-${version}";
|
|
version = "0.0.22";
|
|
|
|
src = fetchurl {
|
|
url = "http://releases.wildfiregames.com/0ad-${version}-alpha-unix-data.tar.xz";
|
|
sha256 = "0vknk9ay9h2p34r7mym2g066f3s3c5d5vmap0ckcs5b86h5cscjc";
|
|
};
|
|
|
|
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 = https://wildfiregames.com/0ad/;
|
|
license = licenses.cc-by-sa-30;
|
|
platforms = platforms.linux;
|
|
hydraPlatforms = [];
|
|
};
|
|
}
|