nix: package up an overlay for vpngate

This commit is contained in:
Dave Gallant
2021-01-10 19:54:54 -05:00
parent e8776c93cf
commit d0a0fbc213
4 changed files with 35 additions and 4 deletions

26
nix/overlays/vpngate.nix Normal file
View File

@@ -0,0 +1,26 @@
self: super:
rec {
vpngate = with self; buildGoModule rec {
pname = "vpngate";
version = "v0.0.2";
vendorSha256 = "1ys2rvrbxgsrvmjdxqgpmxf0m9nlp905gnr2mrf3c7iaxm86wgf8";
src = fetchFromGitHub {
owner = "davegallant";
repo = "vpngate";
rev = version;
sha256 = "0ky3wd04xd4sb2zskrrlbgys2gw88yqhngg3bl0sjy8kr6099vfn";
};
meta = with super.lib; {
homepage = "https://www.vpngate.net";
description = "a client for vpngate.net";
license = licenses.asl20;
maintainers = with maintainers; [ davegallant ];
platforms = platforms.linux ++ platforms.darwin;
};
};
}