@ -50,19 +50,25 @@ let
}
)
# Octoprint needs zeroconf >=0.24 <0.25. While this should be done in
# the mkOverride aboves, this package also has broken tests, so we need
# a proper override.
# Octoprint needs zeroconf >=0.24 <0.25. This can't be done via mkOverride, because in zeroconf 0.32
# the super package was migrated to fetchFromGitHub.
(
self : super : {
zeroconf = super . zeroconf . overrideAttrs ( oldAttrs : rec {
version = " 0 . 2 4 . 5 " ;
src = oldAttrs . src . override {
src = super . fetchPypi {
inherit ( oldAttrs ) pname ;
inherit version ;
sha256 = " 0 j p g d 0 r k 9 1 s i 9 3 8 5 7 m j r i z a n 5 g c 4 2 k j 1 q 4 f i 4 1 6 0 q g k 6 8 l a 8 8 f l 9 " ;
} ;
buildInputs = [ self . nose ] ;
checkPhase = " n o s e t e s t s " ;
pythonImportsCheck = [
" z e r o c o n f "
] ;
buildInputs = with self ; [
pytestCheckHook
nose
] ;
pytestFlagsArray = [ " z e r o c o n f / t e s t . p y " ] ;
} ) ;
}
)