mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
083d0890f5
* Remove package name * Start with upper case letter * Remove trailing period Also reword some descriptions and move some long descriptions to longDescription. I'm not touching generated packages.
35 lines
888 B
Nix
35 lines
888 B
Nix
a :
|
|
let
|
|
fetchurl = a.fetchurl;
|
|
|
|
version = a.lib.attrByPath ["version"] "0.5beta" a;
|
|
buildInputs = with a; [
|
|
mesa libX11 xproto tcl freeglut
|
|
SDL SDL_mixer libXi inputproto
|
|
libXmu libXext xextproto libXt libSM libICE
|
|
libpng pkgconfig gettext intltool
|
|
];
|
|
in
|
|
rec {
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/extremetuxracer/extremetuxracer-${version}.tar.gz";
|
|
sha256 = "04d99fsfna5mc9apjxsiyw0zgnswy33kwmm1s9d03ihw6rba2zxs";
|
|
};
|
|
|
|
inherit buildInputs;
|
|
configureFlags = [
|
|
"--with-tcl=${a.tcl}/lib"
|
|
];
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
|
|
name = "extremetuxracer-" + version;
|
|
meta = {
|
|
description = "High speed arctic racing game based on Tux Racer";
|
|
longDescription = ''
|
|
ExtremeTuxRacer - Tux lies on his belly and accelerates down ice slopes.
|
|
'';
|
|
};
|
|
}
|