nix-packages/plover/plover-rkb1-hid.nix

17 lines
510 B
Nix
Raw Normal View History

2022-09-30 14:24:31 +00:00
{
callPackage,
fetchFromGitea,
}: let
source = builtins.fromJSON (builtins.readFile ./plover-rkb1-hid.json);
2022-09-30 13:36:15 +00:00
in
2022-09-30 14:24:31 +00:00
(callPackage ./plover-machine-hid.nix {}).overrideAttrs (_: {
version = source.date;
src = fetchFromGitea {
domain = "git.chir.rs";
owner = "darkkirb";
repo = "plover-machine-hid";
inherit (source) rev sha256;
};
passthru.updateScript = [../scripts/update-git.sh "https://git.chir.rs/darkkirb/plover-machine-hid" "plover/plover-rkb1-hid.json"];
})