2023-01-29 10:34:24 +01:00
|
|
|
{ lib, buildGoModule, fetchgit, nixosTests }:
|
2020-07-07 13:34:46 +02:00
|
|
|
|
2023-01-29 10:34:24 +01:00
|
|
|
buildGoModule rec {
|
2020-07-07 13:34:46 +02:00
|
|
|
pname = "molly-brown";
|
2023-01-29 10:34:24 +01:00
|
|
|
version = "unstable-2023-02-10";
|
2020-07-07 13:34:46 +02:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://tildegit.org/solderpunk/molly-brown.git";
|
2023-01-29 10:34:24 +01:00
|
|
|
rev = "56d8dde14abc90b784b7844602f12100af9756e0";
|
|
|
|
hash = "sha256-kfopRyCrDaiVjKYseyWacIT9MJ8PzB8LAs6YMgYqCrs=";
|
2020-07-07 13:34:46 +02:00
|
|
|
};
|
|
|
|
|
2023-01-29 10:34:24 +01:00
|
|
|
vendorHash = "sha256-czfHnXS9tf5vQQNXhWH7DStmhsorSc4Di/yZuv4LHRk=";
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
2020-07-07 13:34:46 +02:00
|
|
|
|
2020-07-21 23:20:27 +02:00
|
|
|
passthru.tests.basic = nixosTests.molly-brown;
|
|
|
|
|
2020-07-07 13:34:46 +02:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Full-featured Gemini server";
|
|
|
|
homepage = "https://tildegit.org/solderpunk/molly-brown";
|
|
|
|
maintainers = with maintainers; [ ehmry ];
|
|
|
|
license = licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|