summary refs log tree commit diff
path: root/pkgs/games/lincity/default.nix
blob: b5c78c98b1907c9e0967cf5df0737d1572a6e445 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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";
  };
}