25 lines
576 B
Nix
25 lines
576 B
Nix
|
{ fetchCrate
|
||
|
, lib
|
||
|
, nix-update-script
|
||
|
, rustPlatform
|
||
|
}:
|
||
|
|
||
|
rustPlatform.buildRustPackage rec {
|
||
|
pname = "ch57x-keyboard-tool";
|
||
|
version = "1.1.0";
|
||
|
|
||
|
src = fetchCrate {
|
||
|
inherit pname version;
|
||
|
sha256 = "sha256-BboTmK7Du5v1SNFe6FLr63HuGxQC14HJrfCy4jxZyIU=";
|
||
|
};
|
||
|
cargoHash = "sha256-Jt2pwpPuc9MbS82jCxhFeJpHt0D3VZWYEU0MWporUO8=";
|
||
|
|
||
|
passthru.updateScript = nix-update-script { };
|
||
|
|
||
|
meta = {
|
||
|
description = "Command-line tool for programming ch57x keyboard";
|
||
|
homepage = "https://github.com/kriomant/ch57x-keyboard-tool";
|
||
|
license = lib.licenses.mit;
|
||
|
};
|
||
|
}
|