3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/lincity/default.nix
Marc Weber f7f938a1d1 big breaking change: renaming lib.getAttr to lib.attrByPath
getAttr was ambiguous. It's also a builtin function

fix

svn path=/nixpkgs/trunk/; revision=15692
2009-05-24 10:57:41 +00:00

26 lines
634 B
Nix

args : with args;
let
version = lib.attrByPath ["version"] "1.12.1" args;
sha256 = lib.attrByPath ["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";
};
}