nixpkgs/pkgs/servers/web-apps/phylactery/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
676 B
Nix
Raw Normal View History

2024-07-17 17:32:26 +00:00
{ lib, buildGoModule, fetchzip, nixosTests }:
2022-06-28 06:43:04 +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
};
vendorHash = null;
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";
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;
};
}