This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
nix-packages/plover/didoesdigital-dictionary.nix

16 lines
456 B
Nix
Raw Permalink 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"];
})