octoprint: update zeroconf override
Required so it still works with the latest changes to the derivation. Does not make octoprint build, this would require further overrides around the flask/werkzeug ecosystem.
This commit is contained in:
parent
35b447f656
commit
fc0b15b696
|
@ -50,19 +50,25 @@ let
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
# Octoprint needs zeroconf >=0.24 <0.25. While this should be done in
|
# Octoprint needs zeroconf >=0.24 <0.25. This can't be done via mkOverride, because in zeroconf 0.32
|
||||||
# the mkOverride aboves, this package also has broken tests, so we need
|
# the super package was migrated to fetchFromGitHub.
|
||||||
# a proper override.
|
|
||||||
(
|
(
|
||||||
self: super: {
|
self: super: {
|
||||||
zeroconf = super.zeroconf.overrideAttrs (oldAttrs: rec {
|
zeroconf = super.zeroconf.overrideAttrs (oldAttrs: rec {
|
||||||
version = "0.24.5";
|
version = "0.24.5";
|
||||||
src = oldAttrs.src.override {
|
src = super.fetchPypi {
|
||||||
|
inherit (oldAttrs) pname;
|
||||||
inherit version;
|
inherit version;
|
||||||
sha256 = "0jpgd0rk91si93857mjrizan5gc42kj1q4fi4160qgk68la88fl9";
|
sha256 = "0jpgd0rk91si93857mjrizan5gc42kj1q4fi4160qgk68la88fl9";
|
||||||
};
|
};
|
||||||
buildInputs = [ self.nose ];
|
pythonImportsCheck = [
|
||||||
checkPhase = "nosetests";
|
"zeroconf"
|
||||||
|
];
|
||||||
|
buildInputs = with self; [
|
||||||
|
pytestCheckHook
|
||||||
|
nose
|
||||||
|
];
|
||||||
|
pytestFlagsArray = [ "zeroconf/test.py" ];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue