nixpkgs/pkgs/development/python-modules/pytun/default.nix

28 lines
602 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "pytun";
2021-01-04 12:06:50 +01:00
version = "2.3.0";
src = fetchFromGitHub {
rev = "v${version}";
owner = "montag451";
repo = "pytun";
2021-01-04 12:06:50 +01:00
sha256 = "1cqq8aci38058fjh4a0xf21wac177fw576p2yjl2b8jd9rnsqbl5";
};
2021-01-04 12:06:50 +01:00
# 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;
};
}