2021-07-03 03:11:41 +00:00
|
|
|
{ lib, fetchFromGitHub, ... }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
with builtins;
|
|
|
|
|
2021-07-03 03:11:41 +00:00
|
|
|
listToAttrs (map
|
|
|
|
(v: {
|
|
|
|
inherit (v) name;
|
|
|
|
value = fetchFromGitHub {
|
|
|
|
name = "${v.name}-${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;
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2021-07-03 03:11:41 +00:00
|
|
|
})
|
|
|
|
(fromJSON (readFile ./themes.json)))
|