2015-09-15 06:27:19 +02:00
|
|
|
args @ { libX11, libXext, xextproto, libICE, libSM, xproto, libpng, zlib, ... }: with args;
|
|
|
|
let
|
|
|
|
version = lib.attrByPath ["version"] "1.12.1" args;
|
|
|
|
sha256 = lib.attrByPath ["sha256"]
|
2008-08-08 09:16:34 +02:00
|
|
|
"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"];
|
2015-09-15 06:27:19 +02:00
|
|
|
|
2008-08-08 09:16:34 +02:00
|
|
|
name = "${pkgName}-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "City simulation game";
|
|
|
|
};
|
|
|
|
}
|