@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, buildGoModule }:
1+{ stdenv, fetchFromGitHub, buildGoModule, fetchpatch }:
22
33buildGoModule rec {
44 version = "0.6.0";
@@ -13,6 +13,14 @@ buildGoModule rec {
1313
1414 vendorSha256 = "1ibwx5rbxkygfx78j3g364dmbwwa5b34qmzq3sqcbrsnv8rzrwvj";
1515
16+ patches = [
17+ # fix failing test on go 1.15
18+ (fetchpatch {
19+ url = "https://github.com/fd0/grobi/commit/176988ab087ff92d1408fbc454c77263457f3d7e.patch";
20+ sha256 = "0j8y3gns4lm0qxqxzmdn2ll0kq34mmfhf83lvsq13iqhp5bx3y31";
21+ })
22+ ];
23+
1624 meta = with stdenv.lib; {
1725 homepage = "https://github.com/fd0/grobi";
1826 description = "Automatically configure monitors/outputs for Xorg via RANDR";