mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
Avoid top-level with ...;
in pkgs/games/dwarf-fortress/themes/default.nix
This commit is contained in:
parent
1ed3d42bc1
commit
118bbb8bcc
@ -1,6 +1,15 @@
|
||||
{ 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))
|
||||
|
Loading…
Reference in New Issue
Block a user