depot/third_party/nixpkgs/pkgs/development/python-modules/pytun/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 lines
564 B
Nix

{ 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; {
homepage = "https://github.com/montag451/pytun";
description = "Linux TUN/TAP wrapper for Python";
license = licenses.mit;
maintainers = with maintainers; [ montag451 ];
platforms = platforms.linux;
};
}