Unverified Commit 835ae7b3 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #230339 from figsoda/xc

xc: 0.4.0 -> 0.4.1, fix version, add figsoda as a maintainer
parents 955f4f65 e195435f
Loading
Loading
Loading
Loading
+11 −4
Original line number Diff line number Diff line
@@ -2,21 +2,28 @@

buildGoModule rec {
  pname = "xc";
  version = "0.4.0";
  version = "0.4.1";

  src = fetchFromGitHub {
    owner = "joerdav";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-pKsttrdXZQnWgJocGtyk7+qze1dpmZTclsUhwun6n8E=";
    sha256 = "sha256-Dc7MVn9hF2HtXqMvWQ5UsLQW5ZKcFKt7AHcXdiWDs1I=";
  };

  vendorHash = "sha256-hCdIO377LiXFKz0GfCmAADTPfoatk8YWzki7lVP3yLw=";

  ldflags = [
    "-s"
    "-w"
    "-X=main.version=${version}"
  ];

  meta = with lib; {
    homepage = "https://xcfile.dev/";
    description = "Markdown defined task runner";
    homepage = "https://xcfile.dev/";
    changelog = "https://github.com/joerdav/xc/releases/tag/${src.rev}";
    license = licenses.mit;
    maintainers = with maintainers; [ joerdav ];
    maintainers = with maintainers; [ figsoda joerdav ];
  };
}