Commit 118bbb8b authored by Philip Taron's avatar Philip Taron Committed by Valentin Gagarin
Browse files

Avoid top-level `with ...;` in pkgs/games/dwarf-fortress/themes/default.nix

parent 1ed3d42b
Loading
Loading
Loading
Loading
+12 −3
Original line number Diff line number Diff line
{ lib, fetchFromGitHub, ... }:

with builtins;
let
  inherit (lib)
    importJSON
    licenses
    listToAttrs
    maintainers
    platforms
    readFile
    ;
in

listToAttrs (map
  (v: {
@@ -11,11 +20,11 @@ listToAttrs (map
      repo = v.name;
      rev = v.version;
      sha256 = v.sha256;
      meta = with lib; {
      meta = {
        platforms = platforms.all;
        maintainers = [ maintainers.matthewbauer maintainers.shazow ];
        license = licenses.free;
      };
    };
  })
  (fromJSON (readFile ./themes.json)))
  (importJSON ./themes.json))