feat(compute01): Init satosa at 8.4.0
This commit is contained in:
parent
8cce7e19cb
commit
e0bd555d2f
9 changed files with 316 additions and 0 deletions
36
machines/compute01/satosa/package/pydantic-settings.nix
Normal file
36
machines/compute01/satosa/package/pydantic-settings.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, python3
|
||||
, fetchPypi
|
||||
, pydantic
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonPackage rec {
|
||||
pname = "pydantic-settings";
|
||||
version = "2.0.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "pydantic_settings";
|
||||
inherit version;
|
||||
hash = "sha256-li3DZySVqtaulqQ5D6x+WTWR4URiXlES01n49n+3WUU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3.pkgs.hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
pydantic
|
||||
python-dotenv
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pydantic_settings" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Settings management using Pydantic";
|
||||
homepage = "https://pypi.org/project/pydantic-settings/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
mainProgram = "pydantic-settings";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue