Unverified Commit 3e88ccf0 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #262761 from surfaceflinger/doggo-update

doggo: 0.5.5 -> 0.5.7 and migrate to by-name
parents a990f74c 662cc7d3
Loading
Loading
Loading
Loading
+5 −15
Original line number Diff line number Diff line
{ lib
, buildGoModule
{ buildGoModule
, fetchFromGitHub
, installShellFiles
, fetchpatch
, lib
}:

buildGoModule rec {
  pname = "doggo";
  version = "0.5.5";
  version = "0.5.7";

  src = fetchFromGitHub {
    owner = "mr-karan";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-qc6RYz2bVaY/IBGIXUYO6wyh7iUDAJ1ASCK0dFwZo6s=";
    hash = "sha256-hzl7BE3vsE2G9O2nwN/gkqQTJ+9aDfNIjmpmgN1AYq8=";
  };

  patches = [
    # go 1.20 support
    # https://github.com/mr-karan/doggo/pull/66
    (fetchpatch {
      url = "https://github.com/mr-karan/doggo/commit/7db5c2144fa4a3f18afe1c724b9367b03f84aed7.patch";
      hash = "sha256-cx8s23e02zIvJOtuqTz8XC9ApYODh96Ubl1KhsFUZ9g=";
    })
  ];

  vendorHash = "sha256-GVLfPK1DFVSfNSdIxYSaspHFphd8ft2HUK0SMeWiVUg=";
  vendorHash = "sha256-uonybBLABPj9CPtc+y82ajvQI7kubK+lKi4eLcZIUqA=";
  nativeBuildInputs = [ installShellFiles ];
  subPackages = [ "cmd/doggo" ];

+0 −2
Original line number Diff line number Diff line
@@ -7579,8 +7579,6 @@ with pkgs;
    inherit (darwin.apple_sdk.frameworks) Security;
  };
  doggo = callPackage ../tools/networking/doggo { };
  dq = callPackage ../tools/networking/dq { };
  dool = callPackage ../tools/system/dool { };