Files
nixpkgs/pkgs/by-name/mo/molly-brown/package.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

34 lines
693 B
Nix

{
lib,
buildGoModule,
fetchgit,
nixosTests,
}:
buildGoModule {
pname = "molly-brown";
version = "unstable-2023-02-10";
src = fetchgit {
url = "https://tildegit.org/solderpunk/molly-brown.git";
rev = "56d8dde14abc90b784b7844602f12100af9756e0";
hash = "sha256-kfopRyCrDaiVjKYseyWacIT9MJ8PzB8LAs6YMgYqCrs=";
};
vendorHash = "sha256-czfHnXS9tf5vQQNXhWH7DStmhsorSc4Di/yZuv4LHRk=";
ldflags = [
"-s"
"-w"
];
passthru.tests.basic = nixosTests.molly-brown;
meta = {
description = "Full-featured Gemini server";
mainProgram = "molly-brown";
homepage = "https://tildegit.org/solderpunk/molly-brown";
license = lib.licenses.bsd2;
};
}