Skip to content

Commit

Permalink
wgnlpy: init at 0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelCoding committed Jan 28, 2024
1 parent c373ca5 commit 6ed5492
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
37 changes: 37 additions & 0 deletions pkgs/development/python-modules/wgnlpy/default.nix
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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16134,6 +16134,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 6ed5492

Please sign in to comment.