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