mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
31 lines
787 B
Nix
31 lines
787 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=";
|
|
};
|
|
|
|
vendorHash = "sha256-HffgkuKmaOjTYi+jQ6vBlC50JqqbYiikURT6TCqL7e0=";
|
|
|
|
meta = with lib; {
|
|
description = "A tool to flash firmware to mechanical keyboards";
|
|
mainProgram = "wally-cli";
|
|
homepage = "https://ergodox-ez.com/pages/wally-planck";
|
|
platforms = with platforms; linux ++ darwin;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ spacekookie r-burns ];
|
|
};
|
|
}
|