diff options
author | misuzu <bakalolka@gmail.com> | 2020-06-15 16:29:57 +0300 |
---|---|---|
committer | misuzu <bakalolka@gmail.com> | 2020-06-15 16:29:57 +0300 |
commit | 5b99300261558d347bf5d7d3c1422b7a9baea99c (patch) | |
tree | 0b4c9ff5d0c7bf38f720682ca2bbb33005e542c0 /pkgs/development/python-modules/pydantic | |
parent | 67a080588c133d68c42c7720a83eead14361cea4 (diff) |
python37Packages.pydantic: fix tests
Diffstat (limited to 'pkgs/development/python-modules/pydantic')
-rw-r--r-- | pkgs/development/python-modules/pydantic/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pydantic/default.nix b/pkgs/development/python-modules/pydantic/default.nix index ef33b6fb2bd52..371bfba2f0f9e 100644 --- a/pkgs/development/python-modules/pydantic/default.nix +++ b/pkgs/development/python-modules/pydantic/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub +, fetchpatch , ujson , email_validator , typing-extensions @@ -22,6 +23,14 @@ buildPythonPackage rec { sha256 = "0fwrx7p6d5vskg9ibganahiz9y9299idvdmzhjw62jy84gn1vrb4"; }; + # fix tests, remove on next version bump + patches = [ + (fetchpatch { + url = "https://github.com/samuelcolvin/pydantic/commit/a5b0e741e585040a0ab8b0be94dd9dc2dd3afcc7.patch"; + sha256 = "0v91ac3dw23rm73370s2ns84vi0xqbfzpvj84zb7xdiicx8fhmf1"; + }) + ]; + propagatedBuildInputs = [ ujson email_validator |