nixpkgs/pkgs/development/tools/misc/spruce/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
531 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "spruce";
version = "1.31.0";
src = fetchFromGitHub {
owner = "geofffranks";
repo = pname;
rev = "v${version}";
hash = "sha256-7BZl3GPEuXdZptbkChlmdUkxfIkA3B3IdPFO46zejQ4=";
};
vendorHash = null;
meta = with lib; {
description = "A BOSH template merge tool";
mainProgram = "spruce";
homepage = "https://github.com/geofffranks/spruce";
license = licenses.mit;
maintainers = with maintainers; [ risson ];
};
}