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
29
pkgs/games/quake3/content/demo.nix
Normal file
29
pkgs/games/quake3/content/demo.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
let
|
||||
version = "1.11-6";
|
||||
in stdenv.mkDerivation {
|
||||
pname = "quake3-demodata";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://ftp.gwdg.de/pub/misc/ftp.idsoftware.com/idstuff/quake3/linux/linuxq3ademo-${version}.x86.gz.sh";
|
||||
sha256 = "1v54a1hx1bczk9hgn9qhx8vixsy7xn7wj2pylhfjsybfkgvf7pk4";
|
||||
};
|
||||
|
||||
buildCommand = ''
|
||||
tail -n +165 $src | tar xfz -
|
||||
|
||||
mkdir -p $out/baseq3
|
||||
cp demoq3/*.pk3 $out/baseq3
|
||||
'';
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Quake 3 Arena demo content";
|
||||
license = licenses.unfreeRedistributable;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
};
|
||||
}
|
||||
26
pkgs/games/quake3/content/hires.nix
Normal file
26
pkgs/games/quake3/content/hires.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ stdenv, lib, fetchzip }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "quake3hires";
|
||||
version = "2020-01-20"; # Unknown version, used the date of web.archive.org capture.
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://web.archive.org/web/20200120024216/http://ioquake3.org/files/xcsv_hires.zip";
|
||||
sha256 = "09vhrray8mh1ic2qgcwv0zlmsnz789y32dkkvrz1vdki4yqkf717";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p $out/baseq3
|
||||
install -Dm444 $src/xcsv_bq3hi-res.pk3 $out/baseq3/xcsv_bq3hi-res.pk3
|
||||
'';
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Quake 3 high-resolution textures";
|
||||
license = licenses.cc0;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ rvolosatovs ];
|
||||
};
|
||||
}
|
||||
29
pkgs/games/quake3/content/pointrelease.nix
Normal file
29
pkgs/games/quake3/content/pointrelease.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
let
|
||||
version = "1.32b-3";
|
||||
in stdenv.mkDerivation {
|
||||
pname = "quake3-pointrelease";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://ftp.gwdg.de/pub/misc/ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-${version}.x86.run";
|
||||
sha256 = "11piyksfqyxwl9mpgbc71w9sacsh4d3cdsgia0cy0dbbap2k4qf3";
|
||||
};
|
||||
|
||||
buildCommand = ''
|
||||
sh $src --tar xf
|
||||
|
||||
mkdir -p $out/baseq3
|
||||
cp baseq3/*.pk3 $out/baseq3
|
||||
'';
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Quake 3 Arena point release";
|
||||
license = licenses.unfreeRedistributable;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ abbradar ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue