mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
shiori: fix NixOS test (#161969)
* nixos/tests/shiori: fix auth JSON * shiori: link NixOS test in passthru.tests
This commit is contained in:
parent
f23d45dcfd
commit
17df62a937
@ -12,7 +12,6 @@ import ./make-test-python.nix ({ pkgs, lib, ...}:
|
|||||||
authJSON = pkgs.writeText "auth.json" (builtins.toJSON {
|
authJSON = pkgs.writeText "auth.json" (builtins.toJSON {
|
||||||
username = "shiori";
|
username = "shiori";
|
||||||
password = "gopher";
|
password = "gopher";
|
||||||
remember = 1; # hour
|
|
||||||
owner = true;
|
owner = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "shiori";
|
pname = "shiori";
|
||||||
@ -15,6 +15,10 @@ buildGoModule rec {
|
|||||||
sha256 = "sha256-Py6Lq29F7RkvSui+Z2VyogU9+azHQ2KEvEq924pQmQo=";
|
sha256 = "sha256-Py6Lq29F7RkvSui+Z2VyogU9+azHQ2KEvEq924pQmQo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
smoke-test = nixosTests.shiori;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Simple bookmark manager built with Go";
|
description = "Simple bookmark manager built with Go";
|
||||||
homepage = "https://github.com/go-shiori/shiori";
|
homepage = "https://github.com/go-shiori/shiori";
|
||||||
|
Loading…
Reference in New Issue
Block a user