depot/third_party/nixpkgs/pkgs/development/python-modules/noiseprotocol/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

26 lines
680 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; [ SuperSandro2000 ];
};
}