2018-10-16 16:34:20 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytun";
|
|
|
|
version = "2.2.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "montag451";
|
|
|
|
repo = "pytun";
|
|
|
|
sha256 = "1bxk0z0v8m0b01xg94f039j3bsclkshb7girvjqfzk5whbd2nryh";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/montag451/pytun";
|
2018-10-16 16:34:20 +01:00
|
|
|
description = "Linux TUN/TAP wrapper for Python";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ montag451 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|