depot/third_party/gopkgs/github.com/gorilla/sessions/default.nix

17 lines
521 B
Nix

# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ depot, ... }:
depot.third_party.buildGo.external {
path = "github.com/gorilla/sessions";
src = depot.third_party.nixpkgs.fetchFromGitHub {
owner = "gorilla";
repo = "sessions";
rev = "9cb0b0a3e38d07f41143f03013eaf0a3243fb474";
hash = "sha256:1gc634x8hci45hdbak9n51p54xdmx1fs4pswhvs03rdmq2wha2qy";
};
deps = with depot.third_party; [
gopkgs."github.com".gorilla.securecookie
];
}