Adding an attribute for the gtk freeciv too.
This commit is contained in:
parent
655ba1e418
commit
8818dbedbf
@ -6,12 +6,17 @@
|
||||
let
|
||||
inherit (stdenv.lib) optional optionals;
|
||||
client = sdlClient || gtkClient;
|
||||
|
||||
sdlName = if sdlClient then "-sdl" else "";
|
||||
gtkName = if gtkClient then "-gtk" else "";
|
||||
|
||||
baseName = "freeciv-2.4.0";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "freeciv-2.4.0";
|
||||
stdenv.mkDerivation {
|
||||
name = baseName + sdlName + gtkName;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/freeciv/${name}.tar.bz2";
|
||||
url = "mirror://sourceforge/freeciv/${baseName}.tar.bz2";
|
||||
sha256 = "1bc01pyihsrby6w95n49gi90ggp40dyxsy4kmlmwcakxfxprwakv";
|
||||
};
|
||||
|
||||
|
@ -9186,6 +9186,11 @@ let
|
||||
|
||||
freeciv = callPackage ../games/freeciv { };
|
||||
|
||||
freeciv_gtk = callPackage ../games/freeciv {
|
||||
gtkClient = true;
|
||||
sdlClient = false;
|
||||
};
|
||||
|
||||
freedink = callPackage ../games/freedink { };
|
||||
|
||||
fsg = callPackage ../games/fsg {
|
||||
|
Loading…
Reference in New Issue
Block a user