blob: 2f92541885570f9502b535c9a615f56ab3135b4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{
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 = {
homepage = "https://github.com/montag451/pytun";
description = "Linux TUN/TAP wrapper for Python";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ montag451 ];
platforms = lib.platforms.linux;
};
}
|