16 buildPythonPackage rec {
19 disabled = pythonOlder "3.6";
24 sha256 = "d28448accad98959e0f5932af8736e90a1f3f9ff965121c6881d24cdfca23d22";
27 propagatedBuildInputs = [
40 pythonImportsCheck = [ "PySpice" ];
43 substituteInPlace PySpice/Spice/NgSpice/Shared.py --replace \
44 "ffi.dlopen(self.library_path)" \
45 "ffi.dlopen('${libngspice}/lib/libngspice${stdenv.hostPlatform.extensions.sharedLibrary}')"
49 description = "Simulate electronic circuit using Python and the Ngspice / Xyce simulators";
50 homepage = "https://github.com/FabriceSalvaire/PySpice";
51 license = licenses.gpl3Only;
52 maintainers = with maintainers; [ matthuszagh ];