pythonPackages.imia: init at 0.5.3

This commit is contained in:
Jennifer Graul 2023-07-12 13:28:57 +02:00 committed by Yureka
parent f265b267ca
commit d54e65f519
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchPypi
, poetry-core
, starlette
, fastapi
}:
buildPythonPackage rec {
pname = "imia";
version = "0.5.3";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-4CzevO7xgo8Hb1JHe/eGEtq/KCrJM0hV/7SRV2wmux8=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
starlette
fastapi
];
# running the real tests would require sqlalchemy 1.4 and starsessions 1.x
doCheck = false;
pythonImportsCheck = [ "imia" ];
meta = with lib; {
description = "An authentication library for Starlette and FastAPI";
changelog = "https://github.com/alex-oleshkevich/imia/releases/tag/v${version}";
homepage = "https://github.com/alex-oleshkevich/imia";
license = licenses.mit;
maintainers = teams.wdz.members;
};
}

View File

@ -5417,6 +5417,8 @@ self: super: with self; {
imgtool = callPackage ../development/python-modules/imgtool { };
imia = callPackage ../development/python-modules/imia { };
iminuit = callPackage ../development/python-modules/iminuit { };
immutabledict = callPackage ../development/python-modules/immutabledict { };