-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c373ca5
commit 6ed5492
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ lib | ||
, buildPythonPackage | ||
, pythonOlder | ||
, fetchPypi | ||
, setuptools | ||
, cryptography | ||
, pyroute2 | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "wgnlpy"; | ||
version = "0.1.5"; | ||
pyproject = true; | ||
|
||
disabled = pythonOlder "3.7"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
hash = "sha256-vfYGjVrG/YkGhNO6jq89KNTf/hCv6++Flm/LH46uLow="; | ||
}; | ||
|
||
nativeBuildInputs = [ | ||
setuptools | ||
]; | ||
|
||
propagatedBuildInputs = [ | ||
cryptography | ||
pyroute2 | ||
]; | ||
|
||
meta = with lib; { | ||
description = "A simple control interface for WireGuard via Netlink, written in Python."; | ||
homepage = "https://github.com/ArgosyLabs/wgnlpy"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [ marcel ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters