mirror of
https://github.com/zaphar/dbt-nix.git
synced 2025-07-21 19:40:31 -04:00
Fix MacOS pyyaml dependency
This commit is contained in:
parent
80056077a9
commit
e4e09e2295
@ -30,7 +30,6 @@ let inputs = [
|
|||||||
#python-slugify
|
#python-slugify
|
||||||
#pytimeparse
|
#pytimeparse
|
||||||
#pytz
|
#pytz
|
||||||
#pyyaml
|
|
||||||
#requests
|
#requests
|
||||||
#sqlparse
|
#sqlparse
|
||||||
#text-unidecode
|
#text-unidecode
|
||||||
@ -62,6 +61,7 @@ let inputs = [
|
|||||||
sqlparse
|
sqlparse
|
||||||
python-dateutil
|
python-dateutil
|
||||||
msgpack
|
msgpack
|
||||||
|
pyyaml
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
nativeBuildInputs = with self.rustPlatform; [
|
nativeBuildInputs = with self.rustPlatform; [
|
||||||
cargoSetupHook maturinBuildHook
|
cargoSetupHook maturinBuildHook
|
||||||
];
|
];
|
||||||
# some platforms (MacOS) require this
|
# some platforms (MacOS) require this
|
||||||
buildInputs = [ self.libiconv ];
|
buildInputs = [ self.libiconv ];
|
||||||
src = pyself.fetchPypi {
|
src = pyself.fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-WGcuNvq5iMhJppNAWSDuGEIfJyRcSOX57PSWNp7TGoU=";
|
sha256 = "sha256-WGcuNvq5iMhJppNAWSDuGEIfJyRcSOX57PSWNp7TGoU=";
|
||||||
@ -60,13 +60,21 @@
|
|||||||
# The tests use the network so disable for now.
|
# The tests use the network so disable for now.
|
||||||
doCheck = false;
|
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 {
|
mashumaro = pyself.buildPythonPackage rec {
|
||||||
pname = "mashumaro";
|
pname = "mashumaro";
|
||||||
version = "2.9";
|
version = "2.9";
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
msgpack
|
msgpack
|
||||||
typing-extensions
|
typing-extensions
|
||||||
pyself.pyyaml
|
pyyaml
|
||||||
networkx
|
networkx
|
||||||
];
|
];
|
||||||
src = pyself.fetchPypi {
|
src = pyself.fetchPypi {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user