2020-10-07 09:15:18 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, pkg-config, libusb1 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-10-07 09:15:18 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "wally-cli";
|
2021-05-28 09:39:13 +00:00
|
|
|
version = "2.0.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-10-07 09:15:18 +00:00
|
|
|
subPackages = [ "." ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [ libusb1 ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zsa";
|
2020-10-07 09:15:18 +00:00
|
|
|
repo = "wally-cli";
|
|
|
|
rev = "${version}-linux";
|
2021-05-28 09:39:13 +00:00
|
|
|
sha256 = "NuyQHEygy4LNqLtrpdwfCR+fNy3ZUxOClVdRen6AXMc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-01-03 16:56:52 +00:00
|
|
|
vendorSha256 = "sha256-HffgkuKmaOjTYi+jQ6vBlC50JqqbYiikURT6TCqL7e0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A tool to flash firmware to mechanical keyboards";
|
|
|
|
homepage = "https://ergodox-ez.com/pages/wally-planck";
|
2020-11-06 00:33:48 +00:00
|
|
|
platforms = with platforms; linux ++ darwin;
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
2020-11-06 00:33:48 +00:00
|
|
|
maintainers = with maintainers; [ spacekookie r-burns ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|