diff options
-rw-r--r-- | nixos/tests/shiori.nix | 1 | ||||
-rw-r--r-- | pkgs/servers/web-apps/shiori/default.nix | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/nixos/tests/shiori.nix b/nixos/tests/shiori.nix index 418bee43c9394..6c59c394009e6 100644 --- a/nixos/tests/shiori.nix +++ b/nixos/tests/shiori.nix @@ -12,7 +12,6 @@ import ./make-test-python.nix ({ pkgs, lib, ...}: authJSON = pkgs.writeText "auth.json" (builtins.toJSON { username = "shiori"; password = "gopher"; - remember = 1; # hour owner = true; }); diff --git a/pkgs/servers/web-apps/shiori/default.nix b/pkgs/servers/web-apps/shiori/default.nix index 07fefc9343bab..cbfa28b8f46de 100644 --- a/pkgs/servers/web-apps/shiori/default.nix +++ b/pkgs/servers/web-apps/shiori/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub, nixosTests }: buildGoModule rec { pname = "shiori"; @@ -15,6 +15,10 @@ buildGoModule rec { sha256 = "sha256-Py6Lq29F7RkvSui+Z2VyogU9+azHQ2KEvEq924pQmQo="; }; + passthru.tests = { + smoke-test = nixosTests.shiori; + }; + meta = with lib; { description = "Simple bookmark manager built with Go"; homepage = "https://github.com/go-shiori/shiori"; |