nixpkgs/pkgs/servers/web-apps/shiori/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
662 B
Nix
Raw Normal View History

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