pythonPackages.noiseprotocol: Init at 1.2.2

This commit is contained in:
Sandro Jäckel 2021-01-03 22:34:51 +01:00
parent 990d47dacd
commit 95aed5517d
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib, buildPythonPackage, fetchFromGitHub, cryptography, pytestCheckHook }:
buildPythonPackage rec {
pname = "noiseprotocol";
version = "0.3.1";
src = fetchFromGitHub {
owner = "plizonczyk";
repo = "noiseprotocol";
rev = "v${version}";
sha256 = "1mk0rqpjifdv3v1cjwkdnjbrfmzzjm9f3qqs1r8vii4j2wvhm6am";
};
propagatedBuildInputs = [ cryptography ];
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "noise" ];
meta = with lib; {
description = "Noise Protocol Framework";
homepage = "https://github.com/plizonczyk/noiseprotocol/";
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View file

@ -4247,6 +4247,8 @@ in {
noise = callPackage ../development/python-modules/noise { };
noiseprotocol = callPackage ../development/python-modules/noiseprotocol { };
nose2 = callPackage ../development/python-modules/nose2 { };
nose = callPackage ../development/python-modules/nose { };