about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/dwarf-fortress/themes/default.nix
blob: c6987a1d16bd1e4107de1df302b51d3c6fb08d22 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ 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 maintainers.shazow ];
        license = licenses.free;
      };
    };
  })
  (fromJSON (readFile ./themes.json)))