forked from mirrors/nixpkgs
vpn-slice: 0.14 -> 0.15
And add an update-script, for automatic updates.
This commit is contained in:
parent
ee084c0204
commit
3ff3ec989c
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue