nixpkgs/pkgs/development/tools/sd-local/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

26 lines
624 B
Nix

{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "sd-local";
version = "1.0.54";
src = fetchFromGitHub {
owner = "screwdriver-cd";
repo = pname;
rev = "v${version}";
sha256 = "sha256-2R/TVKCj3abUtrzzMW907GCC1H+lxTmg4J1kHHztE8I=";
};
vendorHash = "sha256-rAFfyMlnhDrb+f04S9+hNygXPaoG9mheQMxaJtXxBVw=";
subPackages = [ "." ];
meta = with lib; {
description = "screwdriver.cd local mode";
mainProgram = "sd-local";
homepage = "https://github.com/screwdriver-cd/sd-local";
license = licenses.bsd3;
maintainers = with maintainers; [ midchildan ];
};
}