fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
29 lines
631 B
Nix
29 lines
631 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytun";
|
|
version = "2.4.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "v${version}";
|
|
owner = "montag451";
|
|
repo = "pytun";
|
|
sha256 = "sha256-DZ7CoLi6LPhuc55HF9dtek+/N4A29ecnZn7bk7jweuI=";
|
|
};
|
|
|
|
# Test directory contains examples, not tests.
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/montag451/pytun";
|
|
description = "Linux TUN/TAP wrapper for Python";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ montag451 ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|