nixpkgs/pkgs/applications/networking/instant-messengers/cordless/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
613 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "cordless";
version = "2020-11-22";
src = fetchFromGitHub {
owner = "Bios-Marcel";
repo = pname;
rev = version;
hash = "sha256-nOHLI0N4d8aC7KaWdLezSpVU1DS1fkfW5UO7cVYCbis=";
};
subPackages = [ "." ];
vendorHash = "sha256-XnwTqd19q+hOJZsfnFExiPDbg4pzV1Z9A6cq/jhcVgU=";
meta = with lib; {
homepage = "https://github.com/Bios-Marcel/cordless";
description = "Discord terminal client";
mainProgram = "cordless";
license = licenses.bsd3;
maintainers = with maintainers; [ colemickens ];
};
}