10 buildPythonPackage rec {
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
20 rev = "refs/tags/v${version}";
21 hash = "sha256-KdvmISMH2HHU8N665QevVw7q9Qs5CwjXxcWpLoziY/Y=";
24 build-system = [ setuptools ];
26 nativeCheckInputs = [ pytestCheckHook ];
28 pythonImportsCheck = [ "pycomm3" ];
31 # Don't test examples as some have aditional requirements
33 # No physical PLC available
38 description = "Python Ethernet/IP library for communicating with Allen-Bradley PLCs";
39 homepage = "https://github.com/ottowayi/pycomm3";
40 changelog = "https://github.com/ottowayi/pycomm3/releases/tag/v${version}";
41 license = licenses.mit;
42 maintainers = with maintainers; [ fab ];