2024-07-17 17:32:26 +00:00
|
|
|
{ lib, buildGoModule, fetchzip, nixosTests }:
|
2022-06-28 06:43:04 +00:00
|
|
|
|
2023-01-26 23:13:00 +00:00
|
|
|
buildGoModule rec {
|
2022-06-28 06:43:04 +00:00
|
|
|
pname = "phylactery";
|
2024-07-17 17:32:26 +00:00
|
|
|
version = "0.2.0";
|
2022-06-28 06:43:04 +00:00
|
|
|
|
2024-07-17 17:32:26 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://trong.loang.net/phylactery/snapshot/phylactery-${version}.tar.gz";
|
|
|
|
hash = "sha256-UokK6rVjpzbcKOkZteo5kU7rFMm1meBUM4bkYAYM8rI=";
|
2022-06-28 06:43:04 +00:00
|
|
|
};
|
|
|
|
|
2023-02-03 05:06:34 +00:00
|
|
|
vendorHash = null;
|
2023-01-26 23:13:00 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2022-06-28 19:17:38 +00:00
|
|
|
passthru.tests.phylactery = nixosTests.phylactery;
|
2022-06-28 06:43:04 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Old school comic web server";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "phylactery";
|
2024-07-17 17:32:26 +00:00
|
|
|
homepage = "https://trong.loang.net/phylactery/about";
|
2022-06-28 06:43:04 +00:00
|
|
|
license = licenses.agpl3Plus;
|
|
|
|
maintainers = with maintainers; [ McSinyx ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|