python-packages/joinmarket: update

- Add `doCheck = false` and `pythonImportsCheck` where appropriate.
  This is good practice in general, but specifically works around a
  `buildPythonPackage` bug where the test phase fails due to a
  requirements check that is unrelated to testing.

- Enable tests for `jmbitcoin`.

- Patch some requirements. I've checked the release notes of the
  required deps for backwards compatibility.
This commit is contained in:
Erik Arvstedt 2023-12-02 23:26:56 +01:00
parent de51f20ccb
commit dc1033f1c8
No known key found for this signature in database
GPG key ID: 33312B944DD97846
7 changed files with 71 additions and 72 deletions

View file

@ -1,48 +0,0 @@
{ lib
, stdenv
, python
, buildPythonPackage
, pythonOlder
, fetchPypi
, cryptography
, incremental
, twisted
, automat
, zope_interface
, idna
, pyopenssl
, service-identity
, pytestCheckHook
, mock
, lsof
, GeoIP
}:
buildPythonPackage rec {
pname = "txtorcon";
version = "22.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-iaG2XjKks2nWfmwWY4f7xGjMXQUidEjSOaXn6XGKoFM=";
};
propagatedBuildInputs = [
cryptography
incremental
twisted
automat
zope_interface
] ++ twisted.optional-dependencies.tls;
nativeCheckInputs = [ pytestCheckHook mock lsof GeoIP ];
doCheck = !(stdenv.isDarwin && stdenv.isAarch64);
meta = {
description = "Twisted-based Tor controller client, with state-tracking and configuration abstractions";
homepage = "https://github.com/meejah/txtorcon";
maintainers = with lib.maintainers; [ jluttine exarkun ];
license = lib.licenses.mit;
};
}