Commit df3b829c authored by Jonathan Berrisch's avatar Jonathan Berrisch Committed by Sigmanificient
Browse files

python313Packages.xsdata-pydantic: init at 24.5

parent 394be911
Loading
Loading
Loading
Loading
+55 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pytestCheckHook,
  xsdata,
  pydantic,
  click,
  click-default-group,
  jinja2,
  docformatter,
  toposort,
}:

buildPythonPackage rec {
  pname = "xsdata-pydantic";
  version = "24.5";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "tefra";
    repo = "xsdata-pydantic";
    tag = "v${version}";
    hash = "sha256-ExgAXQRNfGQRSZdMuWc8ldJPqz+3c4Imgu75KXLXHNk=";
  };

  build-system = [ setuptools ];

  dependencies = [
    xsdata
    pydantic
  ];

  nativeCheckInputs = [
    click
    click-default-group
    docformatter
    jinja2
    toposort
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "xsdata_pydantic"
  ];

  meta = {
    description = "Naive XML & JSON Bindings for python pydantic classes!";
    homepage = "https://github.com/tefra/xsdata-pydantic";
    maintainers = with lib.maintainers; [ berrij ];
    license = lib.licenses.mit;
    platforms = lib.platforms.all;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -20471,6 +20471,8 @@ self: super: with self; {
  xsdata = callPackage ../development/python-modules/xsdata { };
  xsdata-pydantic = callPackage ../development/python-modules/xsdata-pydantic { };
  xstatic = callPackage ../development/python-modules/xstatic { };
  xstatic-asciinema-player = callPackage ../development/python-modules/xstatic-asciinema-player { };