python3Packages.dissononce: init at 0.34.3

This commit is contained in:
Maximilian Bosch 2019-12-05 20:48:42 +01:00
parent ca7272d199
commit d170246aae
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ buildPythonPackage, fetchFromGitHub, lib, pytest, cryptography, transitions }:
buildPythonPackage rec {
pname = "dissononce";
version = "0.34.3";
src = fetchFromGitHub {
owner = "tgalal";
repo = "dissononce";
rev = version;
sha256 = "0hn64qfr0d5npmza6rjyxwwp12k2z2y1ma40zpl104ghac6g3mbs";
};
checkInputs = [ pytest ];
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";
};
}

View File

@ -6383,6 +6383,8 @@ in {
diskcache = callPackage ../development/python-modules/diskcache { };
dissononce = callPackage ../development/python-modules/dissononce { };
distro = callPackage ../development/python-modules/distro { };
bz2file = callPackage ../development/python-modules/bz2file { };