1{ 2 lib, 3 buildPythonPackage, 4 cryptography, 5 fetchFromGitHub, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "linknlink"; 12 version = "0.2.4"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchFromGitHub { 18 owner = "xuanxuan000"; 19 repo = "python-linknlink"; 20 tag = version; 21 hash = "sha256-ObPEcdDHi+SPFjuVKBtu7/5/IgHcam+IWblxxS3+mmI="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ cryptography ]; 27 28 pythonImportsCheck = [ "linknlink" ]; 29 30 # Module has no test 31 doCheck = false; 32 33 meta = with lib; { 34 description = "Module and CLI for controlling Linklink devices locally"; 35 homepage = "https://github.com/xuanxuan000/python-linknlink"; 36 changelog = "https://github.com/xuanxuan000/python-linknlink/releases/tag/${version}"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ fab ]; 39 }; 40}