-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
python3Packages.pyspice: init at 1.4.3 #88688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
pyyaml and requests bumps need to be tested with a hydra job, so this PR is going to take some time. |
pythonImportsCheck = [ "PySpice" ]; | ||
|
||
postPatch = '' | ||
substituteInPlace PySpice/Spice/NgSpice/Shared.py --replace "ffi.dlopen(self.library_path)" "ffi.dlopen('${libngspice}/lib/libngspice.so')" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use stdenv.hostPlatform.extensions.sharedLibrary
instead of .so
pyyaml and requests are now in staging. Probably land in master in a week or so. |
Great, thanks for the update. I've also implemented the change. Let me know if any issues. |
commit message should be:
|
Done. |
@FRidh any chance of an update on this? Thanks! |
Motivation for this change
Adds PySpice. I tested this on some of the examples in the doc and everything worked.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)