deepsecrets: use pydantic_1

This commit is contained in:
Fabian Affolter 2024-01-31 19:52:26 +01:00
parent f36cf57e73
commit b6bc387b57

View File

@ -6,7 +6,7 @@
python3.pkgs.buildPythonApplication rec {
pname = "deepsecrets";
version = "1.0.6";
format = "pyproject";
pyproject = true;
src = fetchFromGitHub {
owner = "avito-tech";
@ -17,9 +17,9 @@ python3.pkgs.buildPythonApplication rec {
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'pyyaml = "^5.4.1"' 'pyyaml = "*"' \
--replace 'regex = "^2023.3.23"' 'regex = "*"' \
--replace 'mmh3 = "^3.0.0"' 'mmh3 = "*"'
--replace-warn 'pyyaml = "^5.4.1"' 'pyyaml = "*"' \
--replace-warn 'regex = "^2023.3.23"' 'regex = "*"' \
--replace-warn 'mmh3 = "^3.0.0"' 'mmh3 = "*"'
'';
nativeBuildInputs = with python3.pkgs; [
@ -30,7 +30,7 @@ python3.pkgs.buildPythonApplication rec {
dotwiz
mmh3
ordered-set
pydantic
pydantic_1
pygments
pyyaml
regex