mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:54:10 +00:00
62b812fbc0
Python tool for convenient configuration of a split tunnel VPN Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
26 lines
661 B
Nix
26 lines
661 B
Nix
{ lib, buildPythonApplication, python3Packages, fetchFromGitHub }:
|
|
|
|
buildPythonApplication rec {
|
|
pname = "vpn-slice";
|
|
version = "0.14";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dlenski";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1z2mdl3arzl95zrj4ir57f762gcimmmq5nk91j679cshxz4snxyr";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3Packages; [ setproctitle dnspython ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/dlenski/vpn-slice";
|
|
description =
|
|
"vpnc-script replacement for easy and secure split-tunnel VPN setup";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ jdbaldry ];
|
|
};
|
|
}
|