shiori: fix NixOS test (#161969)

* nixos/tests/shiori: fix auth JSON

* shiori: link NixOS test in passthru.tests
main
Rémi NICOLE 2 years ago committed by GitHub
parent f23d45dcfd
commit 17df62a937
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      nixos/tests/shiori.nix
  2. 6
      pkgs/servers/web-apps/shiori/default.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;
});

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

Loading…
Cancel
Save