Fix MacOS pyyaml dependency

This commit is contained in:
Jeremy Wall 2022-04-04 12:05:39 -04:00
parent 80056077a9
commit e4e09e2295
2 changed files with 12 additions and 4 deletions

View File

@ -30,7 +30,6 @@ let inputs = [
#python-slugify
#pytimeparse
#pytz
#pyyaml
#requests
#sqlparse
#text-unidecode
@ -62,6 +61,7 @@ let inputs = [
sqlparse
python-dateutil
msgpack
pyyaml
];
in
buildPythonPackage rec {

View File

@ -8,8 +8,8 @@
nativeBuildInputs = with self.rustPlatform; [
cargoSetupHook maturinBuildHook
];
# some platforms (MacOS) require this
buildInputs = [ self.libiconv ];
# some platforms (MacOS) require this
buildInputs = [ self.libiconv ];
src = pyself.fetchPypi {
inherit pname version;
sha256 = "sha256-WGcuNvq5iMhJppNAWSDuGEIfJyRcSOX57PSWNp7TGoU=";
@ -60,13 +60,21 @@
# The tests use the network so disable for now.
doCheck = false;
};
pyyaml = with pyself; buildPythonPackage rec {
pname = "PyYAML";
version = "3.13";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-PvMJIUXptw493Sx61ZvdAlKpTf45SXIWM+QTRN4Apr8=";
};
};
mashumaro = pyself.buildPythonPackage rec {
pname = "mashumaro";
version = "2.9";
buildInputs = [
msgpack
typing-extensions
pyself.pyyaml
pyyaml
networkx
];
src = pyself.fetchPypi {