Merge pull request #230339 from figsoda/xc

xc: 0.4.0 -> 0.4.1, fix version, add figsoda as a maintainer
This commit is contained in:
Weijia Wang 2023-05-06 21:13:28 +03:00 committed by GitHub
commit 835ae7b308
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,21 +2,28 @@
buildGoModule rec { buildGoModule rec {
pname = "xc"; pname = "xc";
version = "0.4.0"; version = "0.4.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "joerdav"; owner = "joerdav";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-pKsttrdXZQnWgJocGtyk7+qze1dpmZTclsUhwun6n8E="; sha256 = "sha256-Dc7MVn9hF2HtXqMvWQ5UsLQW5ZKcFKt7AHcXdiWDs1I=";
}; };
vendorHash = "sha256-hCdIO377LiXFKz0GfCmAADTPfoatk8YWzki7lVP3yLw="; vendorHash = "sha256-hCdIO377LiXFKz0GfCmAADTPfoatk8YWzki7lVP3yLw=";
ldflags = [
"-s"
"-w"
"-X=main.version=${version}"
];
meta = with lib; { meta = with lib; {
homepage = "https://xcfile.dev/";
description = "Markdown defined task runner"; description = "Markdown defined task runner";
homepage = "https://xcfile.dev/";
changelog = "https://github.com/joerdav/xc/releases/tag/${src.rev}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ joerdav ]; maintainers = with maintainers; [ figsoda joerdav ];
}; };
} }