nixpkgs/pkgs/development/tools/evans/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
609 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "evans";
version = "0.10.11";
src = fetchFromGitHub {
owner = "ktr0731";
repo = pname;
rev = "v${version}";
sha256 = "sha256-V5M7vXlBSQFX2YZ+Vjt63hLziWy0yuAbCMmSZFEO0OA=";
};
subPackages = [ "." ];
vendorHash = "sha256-oyFPycyQoYnN261kmGhkN9NMPMA6XChf4jXlYezKiCo=";
meta = with lib; {
description = "More expressive universal gRPC client";
mainProgram = "evans";
homepage = "https://evans.syfm.me/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ diogox ];
};
}