mir,mir_2_15: Fix builds, modernise & fix VM tests (#374873)
[NixPkgs.git] / pkgs / development / python-modules / microsoft-kiota-serialization-form / default.nix
blob15e824afca07cf9397710e796e7865c88628a318
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   flit-core,
6   microsoft-kiota-abstractions,
7   pytest-asyncio,
8   pendulum,
9   pytest-mock,
10   pytestCheckHook,
11   pythonOlder,
14 buildPythonPackage rec {
15   pname = "microsoft-kiota-serialization-form";
16   version = "0.1.1";
17   pyproject = true;
19   disabled = pythonOlder "3.8";
21   src = fetchFromGitHub {
22     owner = "microsoft";
23     repo = "kiota-serialization-form-python";
24     tag = "v${version}";
25     hash = "sha256-yOdrqj8QPz497VWS4427zDRRFc/S5654JeYkO1ZcUcQ=";
26   };
28   build-system = [ flit-core ];
30   dependencies = [
31     microsoft-kiota-abstractions
32     pendulum
33   ];
35   nativeCheckInputs = [
36     pytest-asyncio
37     pytest-mock
38     pytestCheckHook
39   ];
41   pythonImportsCheck = [ "kiota_serialization_form" ];
43   meta = with lib; {
44     description = "Form serialization implementation for Kiota clients in Python";
45     homepage = "https://github.com/microsoft/kiota-serialization-form-python";
46     changelog = "https://github.com/microsoft/kiota-serialization-form-python/blob/v${version}/CHANGELOG.md";
47     license = licenses.mit;
48     maintainers = with maintainers; [ fab ];
49   };