5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
26 lines
664 B
Nix
26 lines
664 B
Nix
{ 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 ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "noise" ];
|
|
|
|
meta = with lib; {
|
|
description = "Noise Protocol Framework";
|
|
homepage = "https://github.com/plizonczyk/noiseprotocol/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|