From d170246aae4d32b6b3774b6932b22b558bf1441a Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 5 Dec 2019 20:48:42 +0100 Subject: [PATCH] python3Packages.dissononce: init at 0.34.3 --- .../python-modules/dissononce/default.nix | 26 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/python-modules/dissononce/default.nix diff --git a/pkgs/development/python-modules/dissononce/default.nix b/pkgs/development/python-modules/dissononce/default.nix new file mode 100644 index 000000000000..80655e6aa084 --- /dev/null +++ b/pkgs/development/python-modules/dissononce/default.nix @@ -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"; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index db57b33dfd00..0f3f0328fddb 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };