mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
python312Packages.pandantic: init at 0.3.1 (#340471)
This commit is contained in:
commit
c2331cc74c
48
pkgs/development/python-modules/pandantic/default.nix
Normal file
48
pkgs/development/python-modules/pandantic/default.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
multiprocess,
|
||||
pandas-stubs,
|
||||
pandas,
|
||||
poetry-core,
|
||||
pydantic,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pandantic";
|
||||
version = "0.3.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wesselhuising";
|
||||
repo = "pandantic";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-JRhnDVRYX0OV/dZkfqNoS2qFcoHOZHm9QZphF/JhgxM=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
multiprocess
|
||||
pandas
|
||||
pandas-stubs
|
||||
pydantic
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "pandantic" ];
|
||||
|
||||
meta = {
|
||||
description = "Module to enriche the Pydantic BaseModel class";
|
||||
homepage = "https://github.com/wesselhuising/pandantic";
|
||||
changelog = "https://github.com/wesselhuising/pandantic/releases/tag/${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -9497,6 +9497,8 @@ self: super: with self; {
|
|||
|
||||
panasonic-viera = callPackage ../development/python-modules/panasonic-viera { };
|
||||
|
||||
pandantic = callPackage ../development/python-modules/pandantic { };
|
||||
|
||||
pandas = callPackage ../development/python-modules/pandas {
|
||||
inherit (pkgs.darwin) adv_cmds;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue