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
libredwg: init at 0.10.1 #71864
libredwg: init at 0.10.1 #71864
Conversation
does this only work with python2? |
|
Well it should work with python3. |
? don't worry about it :) |
took like 2mins |
30d98c8
to
006d62c
Compare
, enablePython ? false, python, swig, ncurses | ||
}: | ||
let | ||
isPython3 = enablePython && lib.versionAtLeast python.version "3"; |
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.
isPython3 = enablePython && lib.versionAtLeast python.version "3"; | |
isPython3 = enablePython && python.pythonAtLeast "3.0" |
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.
another option, you can choose either one
I found the cause of the python 3 failure: configure somehow detects ncurses as "python extra library",
When building with pyhon2 on the other hand, no ncurses (or crypt for that matter) "extra libraries" are detected:
Adding ncurses as dependency helps, but feels strange because it's not really a dependency of this library. |
i believe ncurses is already in the python3 closure, so your closure size won't really get hurt if you include it.
|
006d62c
to
0460bac
Compare
i went with pythonAtLeast. |
@GrahamcOfBorg build libredwg python27Packages.libredwg python37Packages.libredwg python38Packages.libredwg |
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.
nix-review
passes on NixOS
diff LGTM
executables seem to work
https://github.com/NixOS/nixpkgs/pull/71864
4 package were build:
libredwg python27Packages.libredwg python37Packages.libredwg python38Packages.libredwg
Any progress on this ? |
@GrahamcOfBorg build libredwg python27Packages.libredwg python37Packages.libredwg python38Packages.libredwg |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
soft bump |
0460bac
to
4e3ab5c
Compare
Rebased the pr, updated to latest release and made sure it still builds. |
@jtojnar thanks for your review! |
4e3ab5c
to
5b1ac2f
Compare
@jtojnar updated the pr considering your points. Thanks again for the detailed review! |
Looks good, thank you. |
Motivation for this change
add library libredwg, including python bindings
fixes #71192
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Still needs testing on non nixos platforms, though.