blob: ad033b043a46b3d59f2b02b3503a281e41cc805d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ lib, fetchFromGitHub, ... }:
let
inherit (lib)
importJSON
licenses
listToAttrs
maintainers
platforms
readFile
;
in
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 = {
platforms = platforms.all;
maintainers = [ maintainers.matthewbauer maintainers.shazow ];
license = licenses.free;
};
};
})
(importJSON ./themes.json))
|