1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/games/dwarf-fortress/themes/default.nix
2018-09-09 07:15:59 +00:00

20 lines
432 B
Nix

{lib, fetchFromGitHub, ...}:
with builtins;
listToAttrs (map (v: {
inherit (v) name;
value = fetchFromGitHub {
name = "${v.name}-${v.version}";
owner = "DFgraphics";
repo = v.name;
rev = v.version;
sha256 = v.sha256;
meta = with lib; {
platforms = platforms.all;
maintainers = [ maintainers.matthewbauer ];
license = licenses.free;
};
};
}) (fromJSON (readFile ./themes.json)))