1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, setuptools 6, wheel 7}: 8 9buildPythonPackage rec { 10 pname = "pyduotecno"; 11 version = "2023.11.1"; 12 format = "pyproject"; 13 14 disabled = pythonOlder "3.9"; 15 16 src = fetchFromGitHub { 17 owner = "Cereal2nd"; 18 repo = "pyDuotecno"; 19 rev = "refs/tags/${version}"; 20 hash = "sha256-gLP5N07msjuQeeyjbCvZK4TrVyZKUCSSKsjNY5Pa9gQ="; 21 }; 22 23 nativeBuildInputs = [ 24 setuptools 25 wheel 26 ]; 27 28 # Module has no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ 32 "duotecno" 33 ]; 34 35 meta = with lib; { 36 description = "Module to interact with Duotecno IP interfaces"; 37 homepage = "https://github.com/Cereal2nd/pyDuotecno"; 38 changelog = "https://github.com/Cereal2nd/pyDuotecno/releases/tag/${version}"; 39 license = licenses.asl20; 40 maintainers = with maintainers; [ fab ]; 41 }; 42}