Skip to content

Commit 3278566

Browse files
authored
python3.pkgs.pydantic-argparse-extensible: init at 1.3.6 (#391938)
2 parents 174030b + 63e4219 commit 3278566

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchPypi,
5+
poetry-core,
6+
pydantic,
7+
nix-update-script,
8+
}:
9+
10+
buildPythonPackage rec {
11+
pname = "pydantic-argparse-extensible";
12+
version = "1.3.6";
13+
pyproject = true;
14+
15+
src = fetchPypi {
16+
pname = "pydantic_argparse_extensible";
17+
inherit version;
18+
hash = "sha256-DLE2eFrofCDcEPrn5g/mZlxNidVXThUumWV+u+yyvOI=";
19+
};
20+
21+
build-system = [
22+
poetry-core
23+
];
24+
25+
dependencies = [
26+
pydantic
27+
];
28+
29+
pythonImportsCheck = [
30+
"pydantic_argparse_extensible"
31+
];
32+
33+
passthru.updateScript = nix-update-script { };
34+
35+
meta = {
36+
description = "A typed wrapper around argparse using pydantic models";
37+
homepage = "https://pypi.org/project/pydantic-argparse-extensible";
38+
license = lib.licenses.mit;
39+
maintainers = [ lib.maintainers._9999years ];
40+
};
41+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11912,6 +11912,8 @@ self: super: with self; {
1191211912

1191311913
pydantic_1 = callPackage ../development/python-modules/pydantic/1.nix { };
1191411914

11915+
pydantic-argparse-extensible = callPackage ../development/python-modules/pydantic-argparse-extensible { };
11916+
1191511917
pydantic-compat = callPackage ../development/python-modules/pydantic-compat { };
1191611918

1191711919
pydantic-core = callPackage ../development/python-modules/pydantic-core { };

0 commit comments

Comments
 (0)