Unverified Commit a91a8737 authored by nicknb's avatar nicknb
Browse files

massren: 1.5.6 -> 1.5.7

Also remove patch, as support for Go Modules has been implemented
upstream:
https://github.com/laurent22/massren/commit/27e1c93c0563cb41e02e0026475e5ffc49a70b7e
parent 61a7520d
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
@@ -2,30 +2,21 @@
  lib,
  buildGoModule,
  fetchFromGitHub,
  fetchpatch,
}:

buildGoModule (finalAttrs: {
  pname = "massren";
  version = "1.5.6";
  version = "1.5.7";

  src = fetchFromGitHub {
    owner = "laurent22";
    repo = "massren";
    rev = "v${finalAttrs.version}";
    hash = "sha256-17y+vmspvZKKRRaEwzP3Zya4r/z+2aSGG6oNZiA8D64=";
    hash = "sha256-PjF7ani4NdM0Avz0/4D04CZLdvkQHg91E/eFoDXD6ks=";
  };

  vendorHash = null;

  patches = [
    # Add Go Modules support
    (fetchpatch {
      url = "https://github.com/laurent22/massren/commit/83df215b6e112d1ec375b08d8c44dadc5107155d.patch";
      hash = "sha256-FMTmUrv6zGq11vexUirAuK3H6r78RtoipqyWoh+pzrs=";
    })
  ];

  ldflags = [
    "-s"
    "-w"