biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pydantic-scim / default.nix
bloba8ba4155bf97efac42b825134523a4e28681b78c
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pydantic,
6   setuptools,
7   setuptools-scm,
8 }:
10 buildPythonPackage rec {
11   pname = "pydantic-scim";
12   version = "0.0.8";
13   pyproject = true;
15   src = fetchFromGitHub {
16     owner = "chalk-ai";
17     repo = "pydantic-scim";
18     rev = "refs/tags/v${version}";
19     hash = "sha256-Hbc94v/+slXRGDKKbMui8WPwn28/1XcKvHkbLebWtj0=";
20   };
22   nativeBuildInputs = [
23     setuptools
24     setuptools-scm
25   ];
27   postPatch = ''
28     substituteInPlace setup.py \
29       --replace 'version=get_version(),' 'version="${version}",'
30   '';
32   propagatedBuildInputs = [ pydantic ] ++ pydantic.optional-dependencies.email;
34   pythonImportsCheck = [ "pydanticscim" ];
36   # no tests
37   doCheck = false;
39   meta = with lib; {
40     description = "Pydantic types for SCIM";
41     homepage = "https://github.com/chalk-ai/pydantic-scim";
42     license = licenses.asl20;
43     maintainers = with maintainers; [ hexa ];
44   };