biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / imia / default.nix
blob1caa1f607f42254c081df7c63b41f9dd4e65c7f0
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   poetry-core,
6   starlette,
7   fastapi,
8 }:
10 buildPythonPackage rec {
11   pname = "imia";
12   version = "0.5.3";
13   format = "pyproject";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-4CzevO7xgo8Hb1JHe/eGEtq/KCrJM0hV/7SRV2wmux8=";
18   };
20   nativeBuildInputs = [ poetry-core ];
22   propagatedBuildInputs = [
23     starlette
24     fastapi
25   ];
27   # running the real tests would require sqlalchemy 1.4 and starsessions 1.x
28   doCheck = false;
29   pythonImportsCheck = [ "imia" ];
31   meta = with lib; {
32     description = "Authentication library for Starlette and FastAPI";
33     changelog = "https://github.com/alex-oleshkevich/imia/releases/tag/v${version}";
34     homepage = "https://github.com/alex-oleshkevich/imia";
35     license = licenses.mit;
36     maintainers = teams.wdz.members;
37   };