18 buildPythonPackage rec {
21 disabled = pythonOlder "3.6";
26 sha256 = "d28448accad98959e0f5932af8736e90a1f3f9ff965121c6881d24cdfca23d22";
29 propagatedBuildInputs = [
42 pythonImportsCheck = [ "PySpice" ];
45 substituteInPlace PySpice/Spice/NgSpice/Shared.py --replace \
46 "ffi.dlopen(self.library_path)" \
47 "ffi.dlopen('${libngspice}/lib/libngspice${stdenv.hostPlatform.extensions.sharedLibrary}')"
51 description = "Simulate electronic circuit using Python and the Ngspice / Xyce simulators";
52 homepage = "https://github.com/FabriceSalvaire/PySpice";
53 license = licenses.gpl3Only;
54 maintainers = with maintainers; [ matthuszagh ];