nixpkgs/pkgs/tools/text/align/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

23 lines
565 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "align";
version = "1.1.3";
src = fetchFromGitHub {
owner = "Guitarbum722";
repo = pname;
rev = "v${version}";
sha256 = "17gs3417633z71kc6l5zqg4b3rjhpn2v8qs8rnfrk4nbwzz4nrq3";
};
vendorHash = null;
meta = with lib; {
homepage = "https://github.com/Guitarbum722/align";
description = "A general purpose application and library for aligning text";
mainProgram = "align";
maintainers = with maintainers; [ hrhino ];
license = licenses.mit;
};
}