depot/third_party/nixpkgs/pkgs/development/tools/wally-cli/default.nix
Default email 1693fb2285 Project import generated by Copybara.
GitOrigin-RevId: 420f89ceb267b461eed5d025b6c3c0e57703cc5c
2020-10-07 11:15:18 +02:00

34 lines
896 B
Nix

{ lib, buildGoModule, fetchFromGitHub, pkg-config, libusb1 }:
buildGoModule rec {
pname = "wally-cli";
version = "2.0.0";
goPackagePath = "github.com/zsa/wally-cli";
subPackages = [ "." ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libusb1 ];
src = fetchFromGitHub {
owner = "zsa";
repo = "wally-cli";
rev = "${version}-linux";
sha256 = "0xz3z18bbnf736ngjj6jhnp3p2j55m5jhnb2xl6l5hybracfyhm7";
};
vendorSha256 = "0jqx38x5qvir6zc5yq9p2adafwqhy4hil1k5g81rr1fvbn06k3a6";
runVend = true;
# Can be removed when https://github.com/zsa/wally-cli/pull/1 is merged.
doCheck = false;
meta = with lib; {
description = "A tool to flash firmware to mechanical keyboards";
homepage = "https://ergodox-ez.com/pages/wally-planck";
platforms = platforms.linux;
license = licenses.mit;
maintainers = [ maintainers.spacekookie ];
};
}