forked from mirrors/nixpkgs
go-shadowsocks2: init at 0.0.11
This commit is contained in:
parent
667ee34440
commit
e1b208fec6
24
pkgs/tools/networking/go-shadowsocks2/default.nix
Normal file
24
pkgs/tools/networking/go-shadowsocks2/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||||
|
|
||||||
|
buildGoPackage rec {
|
||||||
|
pname = "go-shadowsocks2";
|
||||||
|
version = "0.0.11";
|
||||||
|
|
||||||
|
goPackagePath = "github.com/shadowsocks/go-shadowsocks2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "shadowsocks";
|
||||||
|
repo = "go-shadowsocks2";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1dprz84gmcp6xcsk873lhj32wm8b55vnqn0s984ggvwf1rjqw00c";
|
||||||
|
};
|
||||||
|
|
||||||
|
goDeps = ./deps.nix;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Fresh implementation of Shadowsocks in Go";
|
||||||
|
homepage = "https://github.com/shadowsocks/go-shadowsocks2/";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ geistesk ];
|
||||||
|
};
|
||||||
|
}
|
30
pkgs/tools/networking/go-shadowsocks2/deps.nix
generated
Normal file
30
pkgs/tools/networking/go-shadowsocks2/deps.nix
generated
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# 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";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
]
|
|
@ -6056,6 +6056,8 @@ in
|
||||||
|
|
||||||
shadowsocks-libev = callPackage ../tools/networking/shadowsocks-libev { };
|
shadowsocks-libev = callPackage ../tools/networking/shadowsocks-libev { };
|
||||||
|
|
||||||
|
go-shadowsocks2 = callPackage ../tools/networking/go-shadowsocks2 { };
|
||||||
|
|
||||||
shabnam-fonts = callPackage ../data/fonts/shabnam-fonts { };
|
shabnam-fonts = callPackage ../data/fonts/shabnam-fonts { };
|
||||||
|
|
||||||
shadowsocks-rust = callPackage ../tools/networking/shadowsocks-rust {
|
shadowsocks-rust = callPackage ../tools/networking/shadowsocks-rust {
|
||||||
|
|
Loading…
Reference in a new issue