nixpkgs/pkgs/tools/text/frangipanni/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

24 lines
620 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "frangipanni";
version = "0.5.0";
src = fetchFromGitHub {
owner = "birchb1024";
repo = "frangipanni";
rev = "v${version}";
sha256 = "sha256-jIXyqwZWfCBSDTTodHTct4V5rjYv7h4Vcw7cXOFk17w=";
};
vendorHash = "sha256-TSN5M/UCTtfoTf1hDCfrJMCFdSwL/NVXssgt4aefom8=";
meta = with lib; {
description = "Convert lines of text into a tree structure";
mainProgram = "frangipanni";
homepage = "https://github.com/birchb1024/frangipanni";
license = licenses.mit;
maintainers = with maintainers; [ siraben ];
};
}