go-shadowsocks2: 0.0.11 -> 0.1.3

This commit is contained in:
Alvar Penning 2021-01-13 10:12:29 +01:00
parent dbb48b45a5
commit 7c395b756d
2 changed files with 5 additions and 37 deletions

View file

@ -1,19 +1,17 @@
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "go-shadowsocks2";
version = "0.0.11";
goPackagePath = "github.com/shadowsocks/go-shadowsocks2";
version = "0.1.3";
src = fetchFromGitHub {
owner = "shadowsocks";
repo = "go-shadowsocks2";
rev = "v${version}";
sha256 = "1dprz84gmcp6xcsk873lhj32wm8b55vnqn0s984ggvwf1rjqw00c";
sha256 = "1wzy3ml4ld83iawcl6p313bskzs6zjhz8vlg8kpwgn71cnbv4pvi";
};
goDeps = ./deps.nix;
vendorSha256 = "0iyak8af708h3rdrslndladbcjrix35j3rlhpsb8ljchqp09lksg";
meta = with lib; {
description = "Fresh implementation of Shadowsocks in Go";

View file

@ -1,30 +0,0 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
[
{
goPackagePath = "github.com/aead/chacha20";
fetch = {
type = "git";
url = "https://github.com/aead/chacha20";
rev = "8b13a72661dae6e9e5dea04f344f0dc95ea29547";
sha256 = "0gbmgq5kbqmbyrsav57ql4jzbvqvp1q7yvcd5fl3wf5g94iyv56r";
};
}
{
goPackagePath = "golang.org/x/crypto";
fetch = {
type = "git";
url = "https://go.googlesource.com/crypto";
rev = "60c769a6c58655dab1b9adac0d58967dd517cfba";
sha256 = "1wy2pg38dz29vf1h48yfqf8m3jqvwnbdw8vkk3ldlj5d8fbbbmv8";
};
}
{
goPackagePath = "golang.org/x/sys";
fetch = {
type = "git";
url = "https://go.googlesource.com/sys";
rev = "fb81701db80f1745f51259b1f286de3fe2ec80c8";
sha256 = "1cgvyzkmsbvgyp75nxp10fpnpy08scz6ak60s9w0mkgibw7irhz3";
};
}
]