nixpkgs/pkgs/games/dwarf-fortress/default.nix
Matthew Bauer 91184d159d dwarf-fortress: move themes to .json file
This will make it easier to automate.
2018-06-06 19:19:29 -04:00

45 lines
1.1 KiB
Nix

{ pkgs, stdenv, stdenvNoCC, gccStdenv }:
let
callPackage = pkgs.newScope self;
self = rec {
dwarf-fortress-original = callPackage ./game.nix { };
dfhack = callPackage ./dfhack {
inherit (pkgs.perlPackages) XMLLibXML XMLLibXSLT;
stdenv = gccStdenv;
};
soundSense = callPackage ./soundsense.nix { };
# unfuck is linux-only right now, we will just use it there
dwarf-fortress-unfuck = if stdenv.isLinux then callPackage ./unfuck.nix { }
else null;
dwarf-fortress = callPackage ./wrapper {
themes = {
"phoebus" = phoebus-theme;
"cla" = cla-theme;
};
};
dwarf-therapist-original = pkgs.qt5.callPackage ./dwarf-therapist {
texlive = pkgs.texlive.combine {
inherit (pkgs.texlive) scheme-basic float caption wrapfig adjmulticol sidecap preprint enumitem;
};
};
dwarf-therapist = callPackage ./dwarf-therapist/wrapper.nix { };
themes = callPackage ./themes {
stdenv = stdenvNoCC;
};
phoebus-theme = themes.phoebus;
cla-theme = themes.cla;
};
in self