shiori: fix NixOS test (#161969)

* nixos/tests/shiori: fix auth JSON

* shiori: link NixOS test in passthru.tests
This commit is contained in:
Rémi NICOLE 2022-02-27 07:38:55 +01:00 committed by GitHub
parent f23d45dcfd
commit 17df62a937
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -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;
});

View File

@ -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";