mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
1a0cd8ae4f
Diff: https://github.com/joerdav/xc/compare/v0.4.1...v0.5.0 Changelog: https://github.com/joerdav/xc/releases/tag/v0.5.0
30 lines
682 B
Nix
30 lines
682 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "xc";
|
|
version = "0.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "joerdav";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-cVTa2ot95Hcm+1V1QXnlxSL9OjmoQNR9nVUgW/rZhl0=";
|
|
};
|
|
|
|
vendorHash = "sha256-J4/a4ujM7A6bDwRlLCYt/PmJf6HZUmdYcJMux/3KyUI=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X=main.version=${version}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
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; [ figsoda joerdav ];
|
|
};
|
|
}
|