python3Packages.easysnmp: drop
Leaf package that doesn't build on supported python versions.
This commit is contained in:
@@ -1,55 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonAtLeast
|
||||
, fetchFromGitHub
|
||||
, net-snmp
|
||||
, openssl
|
||||
, pytest
|
||||
, pytest-cov
|
||||
, pytest-flake8
|
||||
, pytest-sugar
|
||||
, termcolor
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "easysnmp";
|
||||
version = "0.2.5";
|
||||
|
||||
# See https://github.com/kamakazikamikaze/easysnmp/issues/108
|
||||
disabled = pythonAtLeast "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kamakazikamikaze";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1si9iyxqj6z22jzn6m93lwpinsqn20lix2py3jm3g3fmwawkd735";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytest-cov
|
||||
pytest-flake8
|
||||
pytest-sugar
|
||||
termcolor
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
net-snmp
|
||||
openssl
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
python setup.py build bdist_wheel --basedir=${lib.getBin net-snmp}/bin
|
||||
'';
|
||||
|
||||
# Unable to get tests to pass, even running by hand. The pytest tests have
|
||||
# become stale.
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A blazingly fast and Pythonic SNMP library based on the official Net-SNMP bindings";
|
||||
homepage = "https://easysnmp.readthedocs.io/en/latest/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ WhittlesJr ];
|
||||
};
|
||||
}
|
||||
@@ -2832,8 +2832,6 @@ self: super: with self; {
|
||||
|
||||
EasyProcess = callPackage ../development/python-modules/easyprocess { };
|
||||
|
||||
easysnmp = callPackage ../development/python-modules/easysnmp { };
|
||||
|
||||
easy-thumbnails = callPackage ../development/python-modules/easy-thumbnails { };
|
||||
|
||||
easywatch = callPackage ../development/python-modules/easywatch { };
|
||||
|
||||
Reference in New Issue
Block a user