nixos-config/5pkgs/shiori/default.nix
2020-06-15 14:41:53 +02:00

17 lines
452 B
Nix

{ go_1_14, buildGoPackage, fetchFromGitHub }:
let
builder = buildGoPackage.override { go = go_1_14; };
in
builder rec {
name = "shiori-${version}";
version = "1.6.0-warc";
goPackagePath = "github.com/go-shiori/shiori";
src = fetchFromGitHub {
owner = "go-shiori";
repo = "shiori";
rev = "83f133dd07bf661d3c4cf03043392100da489559";
sha256 = "02b17hjbh4w0ip0snd8hmdjmbc2w1pv9sws9cf9r8w09c225nw2i";
};
goDeps = ./deps.nix;
}