uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
26
pkgs/games/0ad/data.nix
Normal file
26
pkgs/games/0ad/data.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, stdenv, fetchurl, zeroad-unwrapped }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "0ad-data";
|
||||
inherit (zeroad-unwrapped) version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://releases.wildfiregames.com/0ad-${version}-alpha-unix-data.tar.xz";
|
||||
sha256 = "1c9zrddmjxvvacismld6fbwbw9vrdbq6g6d3424p8w5p6xg5wlwy";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
rm binaries/data/tools/fontbuilder/fonts/*.txt
|
||||
mkdir -p $out/share/0ad
|
||||
cp -r binaries/data $out/share/0ad/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A free, open-source game of ancient warfare -- data files";
|
||||
homepage = "https://play0ad.com/";
|
||||
license = licenses.cc-by-sa-30;
|
||||
maintainers = with maintainers; [ chvp ];
|
||||
platforms = platforms.linux;
|
||||
hydraPlatforms = [];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue