2022-02-27 06:38:55 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
2019-09-22 14:15:06 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "shiori";
|
2022-07-29 22:46:52 +00:00
|
|
|
version = "1.5.3";
|
2019-09-22 14:15:06 +00:00
|
|
|
|
2022-07-29 22:46:52 +00:00
|
|
|
vendorSha256 = "sha256-vyBb8jNpXgpiktbn2lphL2wAeKmvjJLxV8ZrHoUSNYY=";
|
2019-09-22 14:15:06 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-09-22 14:15:06 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "go-shiori";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-07-29 22:46:52 +00:00
|
|
|
sha256 = "sha256-razBb/flqwyFG4SPWhSapDO1sB5DYzyjYGx8ABFg/I8=";
|
2019-09-22 14:15:06 +00: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 14:15:06 +00: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 03:58:04 +00:00
|
|
|
}
|