From f14caea161057a9daf3690e81116a1f8d7f07215 Mon Sep 17 00:00:00 2001
From: Mario Rodas <marsam@users.noreply.github.com>
Date: Sat, 21 Sep 2019 04:30:00 -0500
Subject: [PATCH] wallutils: use buildGoPackage

---
 pkgs/tools/graphics/wallutils/default.nix | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pkgs/tools/graphics/wallutils/default.nix b/pkgs/tools/graphics/wallutils/default.nix
index 1b578628caf..80b90e8e6b2 100644
--- a/pkgs/tools/graphics/wallutils/default.nix
+++ b/pkgs/tools/graphics/wallutils/default.nix
@@ -1,8 +1,8 @@
-{ buildGoModule, fetchFromGitHub, lib
+{ buildGoPackage, fetchFromGitHub, lib
 , wayland, libX11, xbitmaps, libXcursor, libXmu, libXpm
 }:
 
-buildGoModule rec {
+buildGoPackage rec {
   pname = "wallutils";
   version = "5.8.2";
 
@@ -13,7 +13,7 @@ buildGoModule rec {
     sha256 = "1ghvcxsy5prj8l38r4lg39imsqbwmvn1zmiv7004j6skmgpaaawh";
   };
 
-  modSha256 = "0siw1g3fsk1xjri9k1pb03filax8an5sfza5db52krh80g9xasah";
+  goPackagePath = "github.com/xyproto/wallutils";
 
   patches = [ ./lscollection-Add-NixOS-paths-to-DefaultWallpaperDirectories.patch ];