Unverified Commit 581744a5 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.josepy: 2.1.0 -> 2.2.0 (#452029)

parents 9465c968 e0c7eab0
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  python,
  runCommand,
@@ -19,6 +20,7 @@
  pytest-xdist,
  pytestCheckHook,
  python-dateutil,
  writeShellScriptBin,
}:

buildPythonPackage rec {
@@ -59,6 +61,11 @@ buildPythonPackage rec {
    python-dateutil
    pytestCheckHook
    pytest-xdist
  ]
  ++ lib.optionals stdenv.hostPlatform.isDarwin [
    (writeShellScriptBin "sw_vers" ''
      echo 'ProductVersion: 13.0'
    '')
  ];

  pytestFlags = [
@@ -71,6 +78,8 @@ buildPythonPackage rec {
    "test_lock_order"
  ];

  __darwinAllowLocalNetworking = true;

  makeWrapperArgs = [ "--prefix PATH : ${dialog}/bin" ];

  # certbot.withPlugins has a similar calling convention as python*.withPackages
+2 −2
Original line number Diff line number Diff line
@@ -9,14 +9,14 @@

buildPythonPackage rec {
  pname = "josepy";
  version = "2.1.0";
  version = "2.2.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "certbot";
    repo = "josepy";
    tag = "v${version}";
    hash = "sha256-gXXsipvlxLs/dc0rjnaKlR4lySDfDfpo0tcSVrOz9P4=";
    hash = "sha256-3YzcXdzwf5elkEJeCn4wBb987HTrYM5tT2XfOQIpZ9Q=";
  };

  build-system = [ poetry-core ];