about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/gemini/molly-brown/default.nix
blob: 351f54f21d498a20254c274d4d84f3acea864a18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, buildGoModule, fetchgit, nixosTests }:

buildGoModule rec {
  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 = with lib; {
    description = "Full-featured Gemini server";
    homepage = "https://tildegit.org/solderpunk/molly-brown";
    maintainers = with maintainers; [ ehmry ];
    license = licenses.bsd2;
  };
}