1{ lib 2, buildPythonPackage 3, fetchPypi 4, six 5, pytestCheckHook 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "srptools"; 11 version = "1.0.1"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-f6QzclahVC6PW7S+0Z4dmuqY/l/5uvdmkzQqHdasfJY="; 19 }; 20 21 propagatedBuildInputs = [ 22 six 23 ]; 24 25 nativeCheckInputs = [ 26 pytestCheckHook 27 ]; 28 29 pythonImportsCheck = [ 30 "srptools" 31 ]; 32 33 meta = with lib; { 34 description = "Module to implement Secure Remote Password (SRP) authentication"; 35 homepage = "https://github.com/idlesign/srptools"; 36 changelog = "https://github.com/idlesign/srptools/blob/v${version}/CHANGELOG"; 37 license = licenses.bsd3; 38 maintainers = with maintainers; [ ]; 39 }; 40}