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/plover-rkb1-hid.nix

13 lines
482 B
Nix

{callPackage, fetchFromGitea}:
let source = builtins.fromJSON (builtins.readFile ./plover-rkb1-hid.json);
in
(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"];
})