about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/dwarf-fortress/themes/default.nix
blob: feb4782d7c32169b0e86be2fc81f285c866dd27e (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)))