about summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorckie <25263210+ckiee@users.noreply.github.com>2022-06-30 18:29:19 +0300
committerGitHub <noreply@github.com>2022-06-30 18:29:19 +0300
commita8c2879f43db911e91ee74d8efe3a11a06e7e839 (patch)
treefc1cf6daba5b816065f6eb2260cba9817edfd3cc /pkgs/servers
parentbe443e9adb203d5cf84b51710075a9aa57fa86fe (diff)
parentce910fca8841061e86bfbfd15f8976132c2bfd78 (diff)
Merge pull request #179425 from McSinyx/phylactery
phylactery: init at 0.1.1
Diffstat (limited to 'pkgs/servers')
-rw-r--r--pkgs/servers/web-apps/phylactery/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/servers/web-apps/phylactery/default.nix b/pkgs/servers/web-apps/phylactery/default.nix
new file mode 100644
index 0000000000000..a3cddf2fc8d55
--- /dev/null
+++ b/pkgs/servers/web-apps/phylactery/default.nix
@@ -0,0 +1,27 @@
+{ lib, buildGoPackage, fetchFromSourcehut, nixosTests }:
+
+buildGoPackage rec {
+  pname = "phylactery";
+  version = "0.1.1";
+
+  goPackagePath = "git.sr.ht/~cnx/phylactery";
+
+  src = fetchFromSourcehut {
+    owner = "~cnx";
+    repo = pname;
+    rev = version;
+    sha256 = "sha256-HcpdPQ1WOMFNdfsZb//GvUVBCbmS3jARbcXjchlv2oE=";
+  };
+
+  # Upstream repo doesn't provide any test.
+  doCheck = false;
+  passthru.tests.phylactery = nixosTests.phylactery;
+
+  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;
+  };
+}