1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/pkgs/games/0ad/data.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

26 lines
683 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 = http://wildfiregames.com/0ad/;
license = licenses.cc-by-sa-30;
platforms = platforms.linux;
hydraPlatforms = [];
};
}