Loading pkgs/development/python-modules/oldmemo/default.nix 0 → 100644 +60 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, setuptools, typing-extensions, xeddsa, doubleratchet, omemo, x3dh, cryptography, protobuf, xmlschema, }: buildPythonPackage rec { pname = "oldmemo"; version = "1.1.0"; pyproject = true; src = fetchFromGitHub { owner = "Syndace"; repo = "python-oldmemo"; tag = "v${version}"; hash = "sha256-iAsp42VcGsf3Nhk0I97Wi3SlpLxcA6BkVaFm1yY0HrY="; }; build-system = [ setuptools ]; dependencies = [ typing-extensions xeddsa doubleratchet omemo x3dh cryptography protobuf ]; optional-dependencies.xml = [ xmlschema ]; pythonImportsCheck = [ "oldmemo" ]; meta = { description = "Backend implementation of the `eu.siacs.conversations.axolotl` namespace for python-omemo"; homepage = "https://github.com/Syndace/python-oldmemo"; changelog = "https://github.com/Syndace/python-oldmemo/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.agpl3Plus; maintainers = with lib.maintainers; [ themadbit ]; }; } pkgs/development/python-modules/omemo/default.nix 0 → 100644 +74 −0 Original line number Diff line number Diff line { lib, fetchFromGitHub, buildPythonPackage, setuptools, typing-extensions, xeddsa, pytestCheckHook, oldmemo, # passthru omemo, }: buildPythonPackage rec { pname = "omemo"; version = "1.2.0"; pyproject = true; src = fetchFromGitHub { owner = "Syndace"; repo = "python-omemo"; tag = "v${version}"; hash = "sha256-egb4UFoF/gS3LKutArnJSXxDYH/xyBLOxWec98rOT9Y="; }; build-system = [ setuptools ]; dependencies = [ typing-extensions xeddsa ]; doCheck = false; nativeCheckInputs = [ pytestCheckHook oldmemo ] ++ oldmemo.optional-dependencies.xml; pythonImportsCheck = [ "omemo" ]; passthru.tests = { pytest = omemo.overridePythonAttrs { doCheck = true; }; }; meta = { description = "Open python implementation of the OMEMO Multi-End Message and Object Encryption protocol"; longDescription = '' A complete implementation of XEP-0384 on protocol-level, i.e. more than just the cryptography. python-omemo supports different versions of the specification through so-called backends. A backend for OMEMO in the urn:xmpp:omemo:2 namespace (the most recent version of the specification) is available in the python-twomemo Python package. A backend for (legacy) OMEMO in the eu.siacs.conversations.axolotl namespace is available in the python-oldmemo package. Multiple backends can be loaded and used at the same time, the library manages their coexistence transparently. ''; homepage = "https://github.com/Syndace/python-omemo"; changelog = "https://github.com/Syndace/python-omemo/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.mit; teams = with lib.teams; [ ngi ]; maintainers = with lib.maintainers; [ themadbit ]; }; } pkgs/development/python-modules/twomemo/default.nix 0 → 100644 +55 −0 Original line number Diff line number Diff line { lib, fetchFromGitHub, buildPythonPackage, setuptools, doubleratchet, omemo, x3dh, xeddsa, protobuf, typing-extensions, xmlschema, }: buildPythonPackage rec { pname = "twomemo"; version = "1.1.0"; pyproject = true; src = fetchFromGitHub { owner = "Syndace"; repo = "python-twomemo"; tag = "v${version}"; hash = "sha256-jkazeFdNK0iB76oyHbQu+TLaGz+SH/30CmqXk0K6Sy8="; }; strictDeps = true; build-system = [ setuptools ]; dependencies = [ doubleratchet omemo x3dh xeddsa protobuf typing-extensions ]; optional-dependencies.xml = [ xmlschema ]; pythonImportsCheck = [ "twomemo" ]; meta = { description = "Backend implementation of the urn:xmpp:omemo:2 namespace for python-omemo"; homepage = "https://github.com/Syndace/python-twomemo"; changelog = "https://github.com/Syndace/python-twomemo/blob/v${version}/CHANGELOG.md"; license = lib.licenses.mit; teams = with lib.teams; [ ngi ]; maintainers = with lib.maintainers; [ themadbit ]; }; } pkgs/top-level/python-packages.nix +6 −0 Original line number Diff line number Diff line Loading @@ -10631,6 +10631,8 @@ self: super: with self; { oldest-supported-numpy = callPackage ../development/python-modules/oldest-supported-numpy { }; oldmemo = callPackage ../development/python-modules/oldmemo { }; olefile = callPackage ../development/python-modules/olefile { }; oletools = callPackage ../development/python-modules/oletools { }; Loading @@ -10641,6 +10643,8 @@ self: super: with self; { omegaconf = callPackage ../development/python-modules/omegaconf { }; omemo = callPackage ../development/python-modules/omemo { }; omemo-dr = callPackage ../development/python-modules/omemo-dr { }; omnikinverter = callPackage ../development/python-modules/omnikinverter { }; Loading Loading @@ -18419,6 +18423,8 @@ self: super: with self; { twofish = callPackage ../development/python-modules/twofish { }; twomemo = callPackage ../development/python-modules/twomemo { }; twscrape = callPackage ../development/python-modules/twscrape { }; txaio = callPackage ../development/python-modules/txaio { }; Loading
pkgs/development/python-modules/oldmemo/default.nix 0 → 100644 +60 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, setuptools, typing-extensions, xeddsa, doubleratchet, omemo, x3dh, cryptography, protobuf, xmlschema, }: buildPythonPackage rec { pname = "oldmemo"; version = "1.1.0"; pyproject = true; src = fetchFromGitHub { owner = "Syndace"; repo = "python-oldmemo"; tag = "v${version}"; hash = "sha256-iAsp42VcGsf3Nhk0I97Wi3SlpLxcA6BkVaFm1yY0HrY="; }; build-system = [ setuptools ]; dependencies = [ typing-extensions xeddsa doubleratchet omemo x3dh cryptography protobuf ]; optional-dependencies.xml = [ xmlschema ]; pythonImportsCheck = [ "oldmemo" ]; meta = { description = "Backend implementation of the `eu.siacs.conversations.axolotl` namespace for python-omemo"; homepage = "https://github.com/Syndace/python-oldmemo"; changelog = "https://github.com/Syndace/python-oldmemo/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.agpl3Plus; maintainers = with lib.maintainers; [ themadbit ]; }; }
pkgs/development/python-modules/omemo/default.nix 0 → 100644 +74 −0 Original line number Diff line number Diff line { lib, fetchFromGitHub, buildPythonPackage, setuptools, typing-extensions, xeddsa, pytestCheckHook, oldmemo, # passthru omemo, }: buildPythonPackage rec { pname = "omemo"; version = "1.2.0"; pyproject = true; src = fetchFromGitHub { owner = "Syndace"; repo = "python-omemo"; tag = "v${version}"; hash = "sha256-egb4UFoF/gS3LKutArnJSXxDYH/xyBLOxWec98rOT9Y="; }; build-system = [ setuptools ]; dependencies = [ typing-extensions xeddsa ]; doCheck = false; nativeCheckInputs = [ pytestCheckHook oldmemo ] ++ oldmemo.optional-dependencies.xml; pythonImportsCheck = [ "omemo" ]; passthru.tests = { pytest = omemo.overridePythonAttrs { doCheck = true; }; }; meta = { description = "Open python implementation of the OMEMO Multi-End Message and Object Encryption protocol"; longDescription = '' A complete implementation of XEP-0384 on protocol-level, i.e. more than just the cryptography. python-omemo supports different versions of the specification through so-called backends. A backend for OMEMO in the urn:xmpp:omemo:2 namespace (the most recent version of the specification) is available in the python-twomemo Python package. A backend for (legacy) OMEMO in the eu.siacs.conversations.axolotl namespace is available in the python-oldmemo package. Multiple backends can be loaded and used at the same time, the library manages their coexistence transparently. ''; homepage = "https://github.com/Syndace/python-omemo"; changelog = "https://github.com/Syndace/python-omemo/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.mit; teams = with lib.teams; [ ngi ]; maintainers = with lib.maintainers; [ themadbit ]; }; }
pkgs/development/python-modules/twomemo/default.nix 0 → 100644 +55 −0 Original line number Diff line number Diff line { lib, fetchFromGitHub, buildPythonPackage, setuptools, doubleratchet, omemo, x3dh, xeddsa, protobuf, typing-extensions, xmlschema, }: buildPythonPackage rec { pname = "twomemo"; version = "1.1.0"; pyproject = true; src = fetchFromGitHub { owner = "Syndace"; repo = "python-twomemo"; tag = "v${version}"; hash = "sha256-jkazeFdNK0iB76oyHbQu+TLaGz+SH/30CmqXk0K6Sy8="; }; strictDeps = true; build-system = [ setuptools ]; dependencies = [ doubleratchet omemo x3dh xeddsa protobuf typing-extensions ]; optional-dependencies.xml = [ xmlschema ]; pythonImportsCheck = [ "twomemo" ]; meta = { description = "Backend implementation of the urn:xmpp:omemo:2 namespace for python-omemo"; homepage = "https://github.com/Syndace/python-twomemo"; changelog = "https://github.com/Syndace/python-twomemo/blob/v${version}/CHANGELOG.md"; license = lib.licenses.mit; teams = with lib.teams; [ ngi ]; maintainers = with lib.maintainers; [ themadbit ]; }; }
pkgs/top-level/python-packages.nix +6 −0 Original line number Diff line number Diff line Loading @@ -10631,6 +10631,8 @@ self: super: with self; { oldest-supported-numpy = callPackage ../development/python-modules/oldest-supported-numpy { }; oldmemo = callPackage ../development/python-modules/oldmemo { }; olefile = callPackage ../development/python-modules/olefile { }; oletools = callPackage ../development/python-modules/oletools { }; Loading @@ -10641,6 +10643,8 @@ self: super: with self; { omegaconf = callPackage ../development/python-modules/omegaconf { }; omemo = callPackage ../development/python-modules/omemo { }; omemo-dr = callPackage ../development/python-modules/omemo-dr { }; omnikinverter = callPackage ../development/python-modules/omnikinverter { }; Loading Loading @@ -18419,6 +18423,8 @@ self: super: with self; { twofish = callPackage ../development/python-modules/twofish { }; twomemo = callPackage ../development/python-modules/twomemo { }; twscrape = callPackage ../development/python-modules/twscrape { }; txaio = callPackage ../development/python-modules/txaio { };