mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
21 lines
491 B
Nix
21 lines
491 B
Nix
{ lib, fetchFromGitHub, ... }:
|
|
|
|
with builtins;
|
|
|
|
listToAttrs (map
|
|
(v: {
|
|
inherit (v) name;
|
|
value = fetchFromGitHub {
|
|
name = "${v.name}-theme-${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)))
|