3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/web-apps/shiori/default.nix

29 lines
662 B
Nix
Raw Normal View History

{ 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
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
};
passthru.tests = {
smoke-test = nixosTests.shiori;
};
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 ];
};
}