Skip to content

Commit

Permalink
wgnlpy: init at 0.1.5 (#281134)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa authored Nov 22, 2024
2 parents 695022d + 5588cd1 commit 4cf5dc8
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
40 changes: 40 additions & 0 deletions pkgs/development/python-modules/wgnlpy/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
cryptography,
pyroute2,
}:

buildPythonPackage rec {
pname = "wgnlpy";
version = "0.1.5";
pyproject = true;

src = fetchFromGitHub {
owner = "ArgosyLabs";
repo = "wgnlpy";
rev = "v${version}";
hash = "sha256-5XAfBiKx4SqouA57PxmaCb0ea7mT2VeUI1tgnQE/ZwQ=";
};

build-system = [ setuptools ];

dependencies = [
cryptography
pyroute2
];

pythonImportsCheck = [
"wgnlpy"
"wgnlpy.nlas"
];

meta = {
description = "Netlink connector to WireGuard";
homepage = "https://github.com/ArgosyLabs/wgnlpy";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ marcel ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17762,6 +17762,8 @@ self: super: with self; {

wget = callPackage ../development/python-modules/wget { };

wgnlpy = callPackage ../development/python-modules/wgnlpy { };

whatthepatch = callPackage ../development/python-modules/whatthepatch { };

wheel = callPackage ../development/python-modules/wheel { };
Expand Down

0 comments on commit 4cf5dc8

Please sign in to comment.