pythonPackages.pytun: refactor move to python-modules
This commit is contained in:
parent
bad2b3c229
commit
238f179d93
27
pkgs/development/python-modules/pytun/default.nix
Normal file
27
pkgs/development/python-modules/pytun/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ 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;
|
||||
};
|
||||
|
||||
}
|
||||
@ -2127,28 +2127,7 @@ in {
|
||||
|
||||
pytools = callPackage ../development/python-modules/pytools { };
|
||||
|
||||
pytun = buildPythonPackage rec {
|
||||
name = "pytun-${version}";
|
||||
version = "2.2.1";
|
||||
rev = "v${version}";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "montag451";
|
||||
repo = "pytun";
|
||||
sha256 = "1bxk0z0v8m0b01xg94f039j3bsclkshb7girvjqfzk5whbd2nryh";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/montag451/pytun;
|
||||
description = "Linux TUN/TAP wrapper for Python";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ montag451 ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
};
|
||||
pytun = callPackage ../development/python-modules/pytun { };
|
||||
|
||||
python-ctags3 = callPackage ../development/python-modules/python-ctags3 { };
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user