Commit 560218b4 authored by R. RyanTM's avatar R. RyanTM Committed by Florian Klink
Browse files

easylpac: 0.8.0.2 -> 0.8.0.3

The $PATH lookup logic got merged upstream, so we can just bump the
latest version and not patch.
parent f2fcde71
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -20,23 +20,17 @@

buildGoModule rec {
  pname = "easylpac";
  version = "0.8.0.2";
  version = "0.8.0.3";

  src = fetchFromGitHub {
    owner = "creamlike1024";
    repo = "EasyLPAC";
    tag = version;
    hash = "sha256-GxcaMyEaPIGf+/wzmmycmFssTkP5Praj4GCYbxbJU28=";
    hash = "sha256-q76p0BqrG8opuTClYKLfmM5hdziJIrZCwQmg2NkzW/E=";
  };

  vendorHash = "sha256-52I8hlnoHPhygwr0dxDP50X2A7Gsh0v/0SGQFH3FG/8=";

  # also include $PATH lookup logic for `lpac` in the darwin case.
  postPatch = ''
    substituteInPlace config.go --replace-fail \
      'case "linux":' 'case "linux", "darwin":'
  '';

  nativeBuildInputs = [
    copyDesktopItems
    pkg-config