1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4}:
5
6buildPythonPackage rec {
7 pname = "pytun";
8 version = "2.3.0";
9
10 src = fetchFromGitHub {
11 rev = "v${version}";
12 owner = "montag451";
13 repo = "pytun";
14 sha256 = "1cqq8aci38058fjh4a0xf21wac177fw576p2yjl2b8jd9rnsqbl5";
15 };
16
17 # Test directory contains examples, not tests.
18 doCheck = false;
19
20 meta = with lib; {
21 homepage = "https://github.com/montag451/pytun";
22 description = "Linux TUN/TAP wrapper for Python";
23 license = licenses.mit;
24 maintainers = with maintainers; [ montag451 ];
25 platforms = platforms.linux;
26 };
27}