Commit 6ee07b75 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.microsoft-kiota-serialization-text: init at 1.0.0

Text serialization implementation for Kiota generated clients in Python

https://github.com/microsoft/kiota-serialization-text-python
parent 286cafa5
Loading
Loading
Loading
Loading
+53 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, microsoft-kiota-abstractions
, pytest-asyncio
, pytest-mock
, pytestCheckHook
, python-dateutil
, pythonOlder
}:

buildPythonPackage rec {
  pname = "kiota-serialization-text";
  version = "1.0.0";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "microsoft";
    repo = "kiota-serialization-text-python";
    rev = "refs/tags/v${version}";
    hash = "sha256-jPuRfvqO4n5/PjSOS5NMCawaYRhXmrZtfg6LgYFCv7o=";
  };

  nativeBuildInputs = [
    flit-core
  ];

  propagatedBuildInputs = [
    microsoft-kiota-abstractions
    python-dateutil
  ];

  nativeCheckInputs = [
    pytest-asyncio
    pytest-mock
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "kiota_serialization_text"
  ];

  meta = with lib; {
    description = "Text serialization implementation for Kiota generated clients in Python";
    homepage = "https://github.com/microsoft/kiota-serialization-text-python";
    changelog = "https://github.com/microsoft/kiota-serialization-text-python/blob/${version}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -7188,6 +7188,8 @@ self: super: with self; {
  microsoft-kiota-serialization-json = callPackage ../development/python-modules/microsoft-kiota-serialization-json { };
  microsoft-kiota-serialization-text = callPackage ../development/python-modules/microsoft-kiota-serialization-text { };
  midiutil = callPackage ../development/python-modules/midiutil { };
  mido = callPackage ../development/python-modules/mido { };