summary refs log tree commit diff
path: root/pkgs/games/dwarf-fortress/themes/default.nix
blob: 0b8eb23a7b9d1befce6231c582157449a1f535c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{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)))