2021-06-29 02:42:37 +00:00
|
|
|
{ lib, fetchFromGitHub, ... }:
|
2018-06-06 21:05:02 +00:00
|
|
|
|
|
|
|
with builtins;
|
|
|
|
|
2021-06-29 02:42:37 +00:00
|
|
|
listToAttrs (map
|
|
|
|
(v: {
|
|
|
|
inherit (v) name;
|
|
|
|
value = fetchFromGitHub {
|
2022-03-25 20:56:26 +00:00
|
|
|
name = "${v.name}-theme-${v.version}";
|
2021-06-29 02:42:37 +00:00
|
|
|
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;
|
|
|
|
};
|
2018-06-06 21:05:02 +00:00
|
|
|
};
|
2021-06-29 02:42:37 +00:00
|
|
|
})
|
|
|
|
(fromJSON (readFile ./themes.json)))
|