634fe97655
GitOrigin-RevId: 09c38c29f2c719cd76ca17a596c2fdac9e186ceb
21 lines
485 B
Nix
21 lines
485 B
Nix
{ lib, fetchFromGitHub, ... }:
|
|
|
|
with builtins;
|
|
|
|
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;
|
|
};
|
|
};
|
|
})
|
|
(fromJSON (readFile ./themes.json)))
|