add plover-machine-hid

This commit is contained in:
Charlotte 🦝 Delenk 2022-07-27 20:30:09 +01:00
parent f3ee04861c
commit 47e51c29da
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
3 changed files with 26 additions and 0 deletions

View file

@ -683,6 +683,22 @@
"type": "github" "type": "github"
} }
}, },
"plover-machine-hid": {
"flake": false,
"locked": {
"lastModified": 1658949572,
"narHash": "sha256-AinW7UcCDM5W0uJmyCV7FnZjTlwlBzD+VF+Y2cKlSK8=",
"ref": "refs/heads/main",
"rev": "06ed7f5db7bc4b5ca0bb0ddc8ec02fffaf254028",
"revCount": 13,
"type": "git",
"url": "https://git.chir.rs/darkkirb/plover-machine-hid"
},
"original": {
"type": "git",
"url": "https://git.chir.rs/darkkirb/plover-machine-hid"
}
},
"root": { "root": {
"inputs": { "inputs": {
"cargo2nix": "cargo2nix", "cargo2nix": "cargo2nix",
@ -706,6 +722,7 @@
"nixpkgs-go116": "nixpkgs-go116", "nixpkgs-go116": "nixpkgs-go116",
"nixpkgs-stable": "nixpkgs-stable", "nixpkgs-stable": "nixpkgs-stable",
"plover": "plover", "plover": "plover",
"plover-machine-hid": "plover-machine-hid",
"steno-dictionaries": "steno-dictionaries" "steno-dictionaries": "steno-dictionaries"
} }
}, },

View file

@ -39,6 +39,8 @@
hydra-base.url = "git+https://git.chir.rs/darkkirb/hydra?ref=hack&rev=3fdc9e491dc7d33bc09ef4f33984f87c8f478aa2"; hydra-base.url = "git+https://git.chir.rs/darkkirb/hydra?ref=hack&rev=3fdc9e491dc7d33bc09ef4f33984f87c8f478aa2";
steno-dictionaries.url = "github:didoesdigital/steno-dictionaries"; steno-dictionaries.url = "github:didoesdigital/steno-dictionaries";
steno-dictionaries.flake = false; steno-dictionaries.flake = false;
plover-machine-hid.url = "git+https://git.chir.rs/darkkirb/plover-machine-hid";
plover-machine-hid.flake = false;
}; };
outputs = { outputs = {

View file

@ -50,6 +50,13 @@ in rec {
src = tarballs.plover-yaml-dictionary-src; src = tarballs.plover-yaml-dictionary-src;
propagatedBuildInputs = [plover ruamel-yaml]; propagatedBuildInputs = [plover ruamel-yaml];
}; };
plover-machine-hid = with python3Packages;
buildPythonPackage rec {
pname = "plover-machine-hid";
version = inputs.plover-machine-hid.lastModifiedDate;
src = inputs.plover-machine-hid;
propagatedBuildInputs = [plover hid bitstring];
};
ruamel-yaml = with python3Packages; ruamel-yaml = with python3Packages;
buildPythonPackage rec { buildPythonPackage rec {
inherit (tarballs.ruamel-yaml-src.passthru) pname version; inherit (tarballs.ruamel-yaml-src.passthru) pname version;