nixpkgs/pkgs/games/dwarf-fortress/default.nix
Nikolay Amiantov d3b642ce9a dwarf-fortress-wrapper: add themes support
Theme can be specified either as a derivation or as a string, in which
case it will be taken by name from a pre-defined set of themes available in
nixpkgs.
2016-01-26 03:06:07 +03:00

34 lines
854 B
Nix

{ pkgs, pkgsi686Linux }:
let
callPackage = pkgs.newScope self;
callPackage_i686 = pkgsi686Linux.newScope self;
self = rec {
dwarf-fortress-original = callPackage_i686 ./game.nix { };
dfhack = callPackage_i686 ./dfhack {
inherit (pkgsi686Linux.perlPackages) XMLLibXML XMLLibXSLT;
};
dwarf-fortress-unfuck = callPackage_i686 ./unfuck.nix { };
dwarf-fortress = callPackage ./wrapper {
themes = {
"phoebus" = phoebus-theme;
};
};
dwarf-therapist-original = 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 { };
phoebus-theme = callPackage ./themes/phoebus.nix { };
};
in self