Commit 58dc05ac authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python313Packages.model-bakery: 1.21.0 -> 1.23.0

parent ce83efa0
Loading
Loading
Loading
Loading
+11 −6
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  hatchling,
  django,
  pytestCheckHook,
  fetchFromGitHub,
  pytest-django,
  pytestCheckHook,
  uv-build,
}:

buildPythonPackage rec {
  pname = "model-bakery";
  version = "1.21.0";
  version = "1.23.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "model-bakers";
    repo = "model_bakery";
    tag = version;
    hash = "sha256-BB/CaVDkqL51WvFC+GRWV3z3jHUQrW1KtIuHUn4acHw=";
    hash = "sha256-AwdHsysCaxSS6+dH1gO7dyV2Q4PIA84Mc810KNrqP/g=";
  };

  build-system = [ hatchling ];
  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail "uv_build>=0.9.26,<0.10.0" "uv_build"
  '';

  build-system = [ uv-build ];

  dependencies = [ django ];