pythonPackages.pytun: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 11:34:20 -04:00 committed by Frederik Rietdijk
parent bad2b3c229
commit 238f179d93
2 changed files with 28 additions and 22 deletions

View 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;
};
}

View File

@ -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 { };