2020-04-24 23:36:52 +00:00
|
|
|
{ buildPythonPackage, fetchFromGitHub, lib, pytest, cryptography, transitions }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dissononce";
|
|
|
|
version = "0.34.3";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tgalal";
|
|
|
|
repo = "dissononce";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0hn64qfr0d5npmza6rjyxwwp12k2z2y1ma40zpl104ghac6g3mbs";
|
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytest ];
|
2020-04-24 23:36:52 +00:00
|
|
|
checkPhase = ''
|
|
|
|
HOME=$(mktemp -d) py.test tests/
|
|
|
|
'';
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ cryptography transitions ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://pypi.org/project/dissononce/";
|
|
|
|
license = licenses.mit;
|
|
|
|
description = "A python implementation for Noise Protocol Framework";
|
|
|
|
};
|
|
|
|
}
|