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