1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5 pytest, 6 cryptography, 7 transitions, 8}: 9 10buildPythonPackage rec { 11 pname = "dissononce"; 12 version = "0.34.3"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "tgalal"; 17 repo = "dissononce"; 18 rev = version; 19 sha256 = "0hn64qfr0d5npmza6rjyxwwp12k2z2y1ma40zpl104ghac6g3mbs"; 20 }; 21 22 nativeCheckInputs = [ pytest ]; 23 checkPhase = '' 24 HOME=$(mktemp -d) py.test tests/ 25 ''; 26 27 propagatedBuildInputs = [ 28 cryptography 29 transitions 30 ]; 31 32 meta = with lib; { 33 homepage = "https://pypi.org/project/dissononce/"; 34 license = licenses.mit; 35 description = "Python implementation for Noise Protocol Framework"; 36 }; 37}