3
0
Fork 0
forked from mirrors/nixpkgs

vpn-slice: 0.14 -> 0.15

And add an update-script, for automatic updates.
This commit is contained in:
Robert K. Bell 2021-10-06 12:50:18 +11:00
parent ee084c0204
commit 3ff3ec989c
No known key found for this signature in database
GPG key ID: 8A68AF21E4E214E2

View file

@ -1,20 +1,26 @@
{ lib, buildPythonApplication, python3Packages, fetchFromGitHub }:
{ lib, buildPythonApplication, nix-update-script, python3Packages, fetchFromGitHub }:
buildPythonApplication rec {
pname = "vpn-slice";
version = "0.14";
version = "0.15";
src = fetchFromGitHub {
owner = "dlenski";
repo = pname;
rev = "v${version}";
sha256 = "1z2mdl3arzl95zrj4ir57f762gcimmmq5nk91j679cshxz4snxyr";
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 =