mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
python37Packages.pydantic: fix tests
This commit is contained in:
parent
67a080588c
commit
5b99300261
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user