2021-01-09 10:05:03 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, cryptography, pytestCheckHook }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "noiseprotocol";
|
|
|
|
version = "0.3.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "plizonczyk";
|
|
|
|
repo = "noiseprotocol";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1mk0rqpjifdv3v1cjwkdnjbrfmzzjm9f3qqs1r8vii4j2wvhm6am";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ cryptography ];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "noise" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Noise Protocol Framework";
|
|
|
|
homepage = "https://github.com/plizonczyk/noiseprotocol/";
|
|
|
|
license = licenses.mit;
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-01-09 10:05:03 +00:00
|
|
|
};
|
|
|
|
}
|