Poezio OTR: Difference between revisions
imported>Fadenb Created page with "As of now (2017-07-01) the OTR plugin in Poezio is broken due to <code>pythonPackages.pycrypto</code> being replaced by <code>pythonPackages.pycryptodome</code>: https://githu..." |
mNo edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{outdated|This page has not been edited for several years. Please remove this notice if the content is accurate.}} | |||
As of now (2017-07-01) the OTR plugin in Poezio is broken due to <code>pythonPackages.pycrypto</code> being replaced by <code>pythonPackages.pycryptodome</code>: https://github.com/NixOS/nixpkgs/issues/21671 | As of now (2017-07-01) the OTR plugin in Poezio is broken due to <code>pythonPackages.pycrypto</code> being replaced by <code>pythonPackages.pycryptodome</code>: https://github.com/NixOS/nixpkgs/issues/21671 | ||
Line 4: | Line 5: | ||
Provide original <code>pycrypto</code> under a new name <code>pycrypto-original</code> and provide this new <code>pycrypto-original</code> dependency to <code>pythonPackags.potr</code> instead of <code>pycrypto</code>: | Provide original <code>pycrypto</code> under a new name <code>pycrypto-original</code> and provide this new <code>pycrypto-original</code> dependency to <code>pythonPackags.potr</code> instead of <code>pycrypto</code>: | ||
https://github.com/fadenb/nixpkgs/commit/30eb00638ff021803e9ef1afcb22f35636644599 | https://github.com/fadenb/nixpkgs/commit/30eb00638ff021803e9ef1afcb22f35636644599 | ||
< | <syntaxhighlight lang="diff"> | ||
From 30eb00638ff021803e9ef1afcb22f35636644599 Mon Sep 17 00:00:00 2001 | From 30eb00638ff021803e9ef1afcb22f35636644599 Mon Sep 17 00:00:00 2001 | ||
From: Tristan Helmich <tristan.helmich@gmail.com> | From: Tristan Helmich <tristan.helmich@gmail.com> | ||
Line 81: | Line 82: | ||
meta = { | meta = { | ||
description = "A pure Python OTR implementation"; | description = "A pure Python OTR implementation"; | ||
</ | </syntaxhighlight> | ||
With this patch you will need to whitelist pycrypto-original as it is marked as insecure. See the [https://nixos.org/nixpkgs/manual/#sec-allow-insecure | With this patch you will need to whitelist pycrypto-original as it is marked as insecure. See the [https://nixos.org/nixpkgs/manual/#sec-allow-insecure manual on "Installing insecure packages"] for details. |