3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/web-apps/shiori/default.nix
Rémi NICOLE 17df62a937
shiori: fix NixOS test (#161969)
* nixos/tests/shiori: fix auth JSON

* shiori: link NixOS test in passthru.tests
2022-02-27 08:38:55 +02:00

29 lines
662 B
Nix

{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
buildGoModule rec {
pname = "shiori";
version = "1.5.2";
vendorSha256 = "sha256-6XF4wBwoRnINAskhGHTw4eAJ9zAaoZcEYo9/xZk4ems=";
doCheck = false;
src = fetchFromGitHub {
owner = "go-shiori";
repo = pname;
rev = "v${version}";
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";
license = licenses.mit;
maintainers = with maintainers; [ minijackson ];
};
}