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..."
 
imported>Fadenb
m Syntax highlighting
Line 4: Line 4:
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
<pre>
<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 81:
     meta = {
     meta = {
       description = "A pure Python OTR implementation";
       description = "A pure Python OTR implementation";
</pre>
</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 manuel on "Installing insecure packages"] for details.
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 manuel on "Installing insecure packages"] for details.