nixpkgs/pkgs/development/tools/librarian-puppet-go/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

27 lines
658 B
Nix

{ lib, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
pname = "librarian-puppet-go";
version = "0.3.10";
goPackagePath = "github.com/tmtk75/librarian-puppet-go";
src = fetchFromGitHub {
owner = "tmtk75";
repo = "librarian-puppet-go";
rev = "v${version}";
sha256 = "sha256-IEhqyowyLTXDEhg4nkix1N45S0+k+RngMP6TsaZQ4mI=";
};
goDeps = ./deps.nix;
meta = with lib; {
inherit (src.meta) homepage;
description = "librarian-puppet implementation in go";
mainProgram = "librarian-puppet-go";
license = licenses.mit;
maintainers = with maintainers; [ womfoo ];
platforms = [ "x86_64-linux" ];
};
}