Avoid top-level with ...; in pkgs/games/dwarf-fortress/themes/default.nix
This commit is contained in:
committed by
Valentin Gagarin
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))
|
||||
|
||||
Reference in New Issue
Block a user