nixpkgs/pkgs/development/tools/wally-cli/default.nix
John Rinehart c0b364323a wally-cli: 2.0.0 -> 2.0.1
chore: remove unnecessary line (zsa/wally-cli/pulls/1 has long been merged)
2021-05-19 01:49:13 +03:00

31 lines
769 B
Nix

{ lib, buildGoModule, fetchFromGitHub, pkg-config, libusb1 }:
buildGoModule rec {
pname = "wally-cli";
version = "2.0.1";
subPackages = [ "." ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libusb1 ];
src = fetchFromGitHub {
owner = "zsa";
repo = "wally-cli";
rev = "${version}-linux";
sha256 = "NuyQHEygy4LNqLtrpdwfCR+fNy3ZUxOClVdRen6AXMc=";
};
vendorSha256 = "AVYG+aLpAXohUOORV/uPw7vro+Kg98+AmSmYGHtOals=";
runVend = true;
meta = with lib; {
description = "A tool to flash firmware to mechanical keyboards";
homepage = "https://ergodox-ez.com/pages/wally-planck";
platforms = with platforms; linux ++ darwin;
license = licenses.mit;
maintainers = with maintainers; [ spacekookie r-burns ];
};
}