Unverified Commit 16c8bd80 authored by Pavol Rusnak's avatar Pavol Rusnak
Browse files

python3Packages.construct-classes: 0.2.2 -> 0.2.3

parent 290f8e8b
Loading
Loading
Loading
Loading
+4 −9
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  flit-core,
  construct,
  fetchFromGitHub,
  pytestCheckHook,
  uv-build,
}:

buildPythonPackage rec {
  pname = "construct-classes";
  version = "0.2.2";
  version = "0.2.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "matejcik";
    repo = "construct-classes";
    tag = "v${version}";
    hash = "sha256-goOQMt/nVjWXYltpnKHtJaLOhR+gRTmtoUh7zVb7go4=";
    hash = "sha256-xRYf6Tg4XyQN+g8uOaws46KKb0abD/M/5Q+SlnzEp/8=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail "uv_build>=0.8.13,<0.9.0" "uv_build>=0.8.13"
  '';

  build-system = [ uv-build ];
  build-system = [ flit-core ];

  dependencies = [ construct ];