1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/development/tools/wally-cli/default.nix
2020-10-03 13:48:50 +02:00

35 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 ];
};
}