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.

28 lines
693 B
Nix
Raw Normal View History

2022-06-28 21:17:38 +02:00
{ lib, buildGoPackage, fetchFromSourcehut, nixosTests }:
2022-06-28 08:43:04 +02:00
buildGoPackage rec {
pname = "phylactery";
2022-07-04 10:12:11 +02:00
version = "0.1.2";
2022-06-28 08:43:04 +02:00
goPackagePath = "git.sr.ht/~cnx/phylactery";
src = fetchFromSourcehut {
owner = "~cnx";
repo = pname;
rev = version;
2022-07-04 10:12:11 +02:00
sha256 = "sha256-HQN6wJ/4YeuQaDcNgdHj0RgYnn2NxXGRfxybmv60EdQ=";
2022-06-28 08:43:04 +02:00
};
# Upstream repo doesn't provide any test.
doCheck = false;
2022-06-28 21:17:38 +02:00
passthru.tests.phylactery = nixosTests.phylactery;
2022-06-28 08:43:04 +02:00
meta = with lib; {
description = "Old school comic web server";
homepage = "https://git.sr.ht/~cnx/phylactery";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ McSinyx ];
platforms = platforms.all;
};
}