Package c4m-jtag
[soc.git] / nix / ieee754fpu.nix
index ac221c935549c4df179bcbc966c93b2867591523..e520437daa4ee849f80aa3b835694a3a4de8c058 100644 (file)
@@ -14,6 +14,12 @@ buildPythonPackage {
 
   doCheck = false;
 
+  prePatch = ''
+    touch ./src/ieee754/part/__init__.py
+  '';
+
+  pythonImportsCheck = [ "ieee754.part" ];
+
   meta = with lib; {
     homepage = "https://pypi.org/project/libresoc-ieee754fpu/";
     license = licenses.lgpl3Plus;