Merge pull request #90482 from misuzu/pydantic-tests-fix

python37Packages.pydantic: fix tests
This commit is contained in:
Jörg Thalheim 2020-06-15 23:04:43 +01:00 committed by GitHub
commit 0bb6d7a106
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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