teleport: 7.0.0 -> 7.0.2

This commit is contained in:
Justinas Stankevicius 2021-08-13 15:21:05 +03:00
parent 18ac0bdb28
commit a3e27b8d21

View File

@ -1,5 +1,5 @@
# This file was generated by https://github.com/kamilchm/go2nix v2.0-dev
{ lib, buildGoModule, zip, fetchFromGitHub, makeWrapper, xdg-utils }:
{ lib, buildGoModule, fetchFromGitHub, makeWrapper, xdg-utils }:
let
webassets = fetchFromGitHub {
owner = "gravitational";
@ -10,14 +10,14 @@ let
in
buildGoModule rec {
pname = "teleport";
version = "7.0.0";
version = "7.0.2";
# This repo has a private submodule "e" which fetchgit cannot handle without failing.
src = fetchFromGitHub {
owner = "gravitational";
repo = "teleport";
rev = "v${version}";
sha256 = "sha256-2GQ3IP5jfT6vSni5hfDex09wXrnUmTpcvH2S6zc399I=";
sha256 = "sha256-Sj7WQRgEiU5G/MDKFtEy/KJ2g0WENxbCnMA9CNcTUaY=";
};
vendorSha256 = null;
@ -25,7 +25,7 @@ buildGoModule rec {
subPackages = [ "tool/tctl" "tool/teleport" "tool/tsh" ];
tags = [ "webassets_embed" ];
nativeBuildInputs = [ zip makeWrapper ];
nativeBuildInputs = [ makeWrapper ];
patches = [
# https://github.com/NixOS/nixpkgs/issues/120738
@ -41,7 +41,7 @@ buildGoModule rec {
mkdir -p build
echo "making webassets"
cp -r ${webassets}/* webassets/
make lib/web/build/webassets.zip
make lib/web/build/webassets
'';
preCheck = ''