nixpkgs/pkgs/tools/networking/vpn-slice/default.nix
Robert K. Bell 3ff3ec989c
vpn-slice: 0.14 -> 0.15
And add an update-script, for automatic updates.
2021-10-11 18:37:42 +11:00

32 lines
770 B
Nix

{ lib, buildPythonApplication, nix-update-script, python3Packages, fetchFromGitHub }:
buildPythonApplication rec {
pname = "vpn-slice";
version = "0.15";
src = fetchFromGitHub {
owner = "dlenski";
repo = pname;
rev = "v${version}";
sha256 = "sha256-9JnRuJkpcgW1cEgJPiqFDYotNSCl7XcmbHS6D4E13gM=";
};
propagatedBuildInputs = with python3Packages; [ setproctitle dnspython ];
doCheck = false;
passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
};
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 ];
};
}