diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2019-08-02 00:00:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2019-08-02 00:00:00 -0500 |
commit | 58e584ccd36f6eea3b75bd53509a3b5705818279 (patch) | |
tree | a540252ef6b2ac398024d7f721fcbf29ae6cf487 /pkgs/applications/networking/dsvpn | |
parent | f2639566b59152b6273cda3df3c329c1db4f3933 (diff) |
dsvpn: init at 0.1.0
Diffstat (limited to 'pkgs/applications/networking/dsvpn')
-rw-r--r-- | pkgs/applications/networking/dsvpn/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/networking/dsvpn/default.nix b/pkgs/applications/networking/dsvpn/default.nix new file mode 100644 index 0000000000000..68198ae14e203 --- /dev/null +++ b/pkgs/applications/networking/dsvpn/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "dsvpn"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "jedisct1"; + repo = pname; + rev = version; + sha256 = "1g747197zpg83ba9l9vxg8m3jv13wcprhnyr8asdxq745kzmynsr"; + }; + + installPhase = '' + runHook preInstall + + install -Dm755 -t $out/bin dsvpn + + runHook postInstall + ''; + + meta = with stdenv.lib; { + description = "A Dead Simple VPN"; + homepage = "https://github.com/jedisct1/dsvpn"; + license = licenses.mit; + maintainers = [ maintainers.marsam ]; + platforms = platforms.unix; + }; +} |