Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 78cb116272f8
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 11479a9dd3f0
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Nov 23, 2019

  1. wally-cli: init at 1.1.1

    spacekookie committed Nov 23, 2019
    Copy the full SHA
    4e78f84 View commit details

Commits on Nov 24, 2019

  1. Merge pull request #73960 from spacekookie/wally

    wally-cli: init at 1.1.1
    Ma27 authored Nov 24, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    targos Michaël Zasso
    Copy the full SHA
    11479a9 View commit details
Showing with 102 additions and 0 deletions.
  1. +34 −0 pkgs/development/tools/wally-cli/default.nix
  2. +66 −0 pkgs/development/tools/wally-cli/deps.nix
  3. +2 −0 pkgs/top-level/all-packages.nix
34 changes: 34 additions & 0 deletions pkgs/development/tools/wally-cli/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{ lib, buildGoPackage, fetchFromGitHub, pkg-config, libusb1 }:

buildGoPackage rec {
pname = "wally-cli";
version = "1.1.1";

goPackagePath = "github.com/zsa/wally";
subPackages = [ "cli" ];

nativeBuildInputs = [
pkg-config
libusb1
];

src = fetchFromGitHub {
owner = "zsa";
repo = "wally";
rev = "68960e452ee0f6c7142f5008d4b1cdc6284d3de7";
sha256 = "122m5v7s5wqlshyk2salmd848lqs4rrz54d2ap11ay61kijm0bs2";
};

postInstall = ''
mv $bin/bin/cli $bin/bin/wally
'';

goDeps = ./deps.nix;

meta = with lib; {
description = "A tool to flash firmware to mechanical keyboards";
homepage = https://ergodox-ez.com/pages/wally-planck;
license = licenses.mit;
maintainers = [ maintainers.spacekookie ];
};
}
66 changes: 66 additions & 0 deletions pkgs/development/tools/wally-cli/deps.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -14439,6 +14439,8 @@ in
stdenv = gcc6Stdenv; # upstream code incompatible with gcc7
};

wally-cli = callPackage ../development/tools/wally-cli { };

wavpack = callPackage ../development/libraries/wavpack { };

wayland = callPackage ../development/libraries/wayland { };