Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 33 lines 734 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 six, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "srptools"; 11 version = "1.0.1"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-f6QzclahVC6PW7S+0Z4dmuqY/l/5uvdmkzQqHdasfJY="; 17 }; 18 19 propagatedBuildInputs = [ six ]; 20 21 nativeCheckInputs = [ pytestCheckHook ]; 22 23 pythonImportsCheck = [ "srptools" ]; 24 25 meta = { 26 description = "Module to implement Secure Remote Password (SRP) authentication"; 27 mainProgram = "srptools"; 28 homepage = "https://github.com/idlesign/srptools"; 29 changelog = "https://github.com/idlesign/srptools/blob/v${version}/CHANGELOG"; 30 license = lib.licenses.bsd3; 31 maintainers = [ ]; 32 }; 33}