Unverified Commit 919a5242 authored by Pyrox's avatar Pyrox
Browse files

python312Packages.jsonable: drop nose dependency

parent 18cb69fb
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -2,8 +2,8 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  nose,
  pytestCheckHook,
  fetchpatch2,
}:

buildPythonPackage rec {
@@ -18,11 +18,17 @@ buildPythonPackage rec {
    hash = "sha256-3FIzG2djSZOPDdoYeKqs3obQjgHrFtyp0sdBwZakkHA=";
  };

  nativeCheckInputs = [
    nose
    pytestCheckHook
  patches = [
    # https://github.com/halfak/python-jsonable/pull/2
    (fetchpatch2 {
      name = "eq-to-assert.patch";
      url = "https://github.com/halfak/python-jsonable/pull/2/commits/335e61bb4926e644aef983f7313793bf506d2463.patch";
      hash = "sha256-tCVA0wG+UMyB6oaNf4nbZ2BPWkNumaGPcjP5VJKegBo=";
    })
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "jsonable" ];

  meta = with lib; {