2022-02-27 06:38:55 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
2019-09-22 15:15:06 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "shiori";
|
2022-02-25 19:08:40 +00:00
|
|
|
version = "1.5.2";
|
2019-09-22 15:15:06 +01:00
|
|
|
|
2022-02-20 02:29:40 +00:00
|
|
|
vendorSha256 = "sha256-6XF4wBwoRnINAskhGHTw4eAJ9zAaoZcEYo9/xZk4ems=";
|
2019-09-22 15:15:06 +01:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-09-22 15:15:06 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "go-shiori";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-02-25 19:08:40 +00:00
|
|
|
sha256 = "sha256-Py6Lq29F7RkvSui+Z2VyogU9+azHQ2KEvEq924pQmQo=";
|
2019-09-22 15:15:06 +01:00
|
|
|
};
|
|
|
|
|
2022-02-27 06:38:55 +00:00
|
|
|
passthru.tests = {
|
|
|
|
smoke-test = nixosTests.shiori;
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-09-22 15:15:06 +01:00
|
|
|
description = "Simple bookmark manager built with Go";
|
|
|
|
homepage = "https://github.com/go-shiori/shiori";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ minijackson ];
|
|
|
|
};
|
2020-07-31 04:58:04 +01:00
|
|
|
}
|