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