b4: 0.6.2 -> 0.8.0

Update to latest release.
This commit is contained in:
Xinglu Chen 2022-03-30 15:55:36 +02:00 committed by Alyssa Ross
parent 29359335c0
commit cb6fac46c1

View file

@ -1,20 +1,14 @@
{ lib, python3Packages }: { lib, python3Packages, patatt }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "b4"; pname = "b4";
version = "0.6.2"; version = "0.8.0";
src = python3Packages.fetchPypi { src = python3Packages.fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1j904dy9cwxl85k2ngc498q5cdnqwsmw3jibjr1m55w8aqdck68z"; sha256 = "sha256-fVHW27KIBT/GQ7hOx67qpVlOHLjHwdQcYl2XgCPTvoQ=";
}; };
preConfigure = ''
substituteInPlace setup.py \
--replace 'requests~=2.24.0' 'requests~=2.25' \
--replace 'dnspython~=2.0.0' 'dnspython~=2.1'
'';
# tests make dns requests and fails # tests make dns requests and fails
doCheck = false; doCheck = false;
@ -22,10 +16,7 @@ python3Packages.buildPythonApplication rec {
requests requests
dnspython dnspython
dkimpy dkimpy
patatt
# These may be required in the future for other patch attestation features
#pycryptodomex~=3.9.9
#PyNaCl
]; ];
meta = with lib; { meta = with lib; {