mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-30 06:01:19 +00:00
Added lincity - a city simulation. And if I build houses, I build houses here.
svn path=/nixpkgs/trunk/; revision=12539
This commit is contained in:
parent
8302b6ba69
commit
aaba3d2440
25
pkgs/games/lincity/default.nix
Normal file
25
pkgs/games/lincity/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
args : with args;
|
||||
let
|
||||
version = lib.getAttr ["version"] "1.12.1" args;
|
||||
sha256 = lib.getAttr ["sha256"]
|
||||
"0xmrp7vkkp1hfblb6nl3rh2651qsbcm21bnncpnma1sf40jaf8wj" args;
|
||||
pkgName = "lincity";
|
||||
in
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/lincity/${pkgName}-${version}.tar.gz";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
buildInputs = [libICE libpng libSM libX11 libXext
|
||||
xextproto zlib xproto];
|
||||
configureFlags = [];
|
||||
|
||||
/* doConfigure should be specified separately */
|
||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||
|
||||
name = "${pkgName}-" + version;
|
||||
meta = {
|
||||
description = "City simulation game";
|
||||
};
|
||||
}
|
@ -7077,6 +7077,12 @@ let pkgs = rec {
|
||||
inherit fetchurl stdenv SDL openal freealut zlib libpng python;
|
||||
};
|
||||
|
||||
lincity = builderDefsPackage (import ../games/lincity) {
|
||||
inherit (xlibs) libX11 libXext xextproto
|
||||
libICE libSM xproto;
|
||||
inherit libpng zlib;
|
||||
} null;
|
||||
|
||||
micropolis = import ../games/micropolis {
|
||||
inherit lib fetchurl stdenv;
|
||||
inherit (xlibs) libX11 libXpm libXext xextproto;
|
||||
|
Loading…
Reference in New Issue
Block a user