nixpkgs/pkgs/applications/networking/instant-messengers/neosay/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

29 lines
613 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "neosay";
version = "1.0.1";
src = fetchFromGitHub {
owner = "donuts-are-good";
repo = "neosay";
rev = "v${version}";
hash = "sha256-2tFjvAobDpBh1h0ejdtqxDsC+AqyneN+xNssOJNfEbk=";
};
vendorHash = "sha256-w0aZnel5Obq73UXcG9wmO9t/7qQTE8ru656u349cvzQ=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Pipe stdin to matrix";
mainProgram = "neosay";
homepage = "https://github.com/donuts-are-good/neosay";
license = licenses.mit;
maintainers = with maintainers; [ janik ];
};
}