weechatScripts.weechat-otr: fix pycrypto build

This commit is contained in:
Jörg Thalheim 2020-07-06 19:34:33 +01:00
parent c93f5194c8
commit 9e780d7a2e
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -8,14 +8,20 @@ let
pycrypto = python3Packages.buildPythonPackage rec {
pname = "pycrypto";
version = "2.6.1-10";
version = "2.6.1-13.1";
src = fetchgit {
url = "https://salsa.debian.org/sramacher/python-crypto.git";
rev = "debian/${version}";
sha256 = "10rgq8bmjfpiqqa1g1p1hh7pxlxs7x0nawvk6zip0pd6x2vsr661";
sha256 = "1mahqmlgilgk0rn5hfkhza7kscfm7agdakkb6rqnif9g0qp3s52f";
};
postPatch = ''
for p in debian/patches/*.patch; do
patch -p1 < "$p"
done
'';
buildInputs = [ gmp ];
preConfigure = ''