nix-packages/plover/didoesdigital-dictionary.nix

16 lines
456 B
Nix
Raw Normal View History

2022-09-30 14:24:31 +00:00
{
fetchFromGitHub,
lib,
}: let
source = builtins.fromJSON (builtins.readFile ./didoesdigital-dictionary.json);
in
(fetchFromGitHub {
owner = "didoesdigital";
repo = "steno-dictionaries";
inherit (source) rev sha256;
})
.overrideAttrs (_: {
meta.license = lib.licenses.gpl2;
passthru.updateScript = [../scripts/update-git.sh "https://github.com/didoesdigital/steno-dictionaries" "plover/didoesdigital-dictionary.json"];
})