blob: f8e920322460106deb90b8117bd09ba26710daaf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
multiprocess,
pandas-stubs,
pandas,
poetry-core,
pydantic,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pandantic";
version = "1.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "wesselhuising";
repo = "pandantic";
tag = version;
hash = "sha256-lqd4aQiBMbATFMdftKQeTlqQ3MGrxm2shb7qil+84iA=";
};
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/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|