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

15 lines
456 B
Nix

{
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"];
})