-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
tikzit: init at 2.0 #48479
tikzit: init at 2.0 #48479
Conversation
Merged efforts between iblech and mgttlinger
Thank you, Merlin! TikZiT is indeed GPL3 Plus. The website doesn't communicate this clearly (a fix is already in the making), but the source code comments clearly state so. |
Dear @mgttlinger, there just was a commit on the TikZiT repository changing the behavior of I don't have time right now to look into this, but will do so on the weekend. In case you want to go ahead right now, feel free to do so, of course. |
@iblech Given that we target the released version the new commit won't be in the version we pull, but we should definitely look into that for the next release. |
@mgttlinger I'm happy to report that we don't need our |
@iblech That's great, now the build looks really clean. Should we remove the "do not merge" from the title? |
I just pushed the necessary changes to that we target the just-released version 2.0. @mgttlinger, it was a pleasure collaborating with you on this build! :-) Dear committers, this pull request is no longer work in progress. Please consider it for merging. |
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.
Also consider:
-
adding
enableParallelBuilding = true;
after checking it doesn't break the build -
there seems to be unit tests available (not sure) :
doCheck = true;
checkTarget = "test";
can be included directly in papers typeset using LaTeX. | ||
''; | ||
homepage = https://tikzit.github.io/; | ||
license = stdenv.lib.licenses.gpl3Plus; |
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.
licenses.gpl3Plus
is enough since you have with stdenv.lib;
at the opening of your meta block
''; | ||
homepage = https://tikzit.github.io/; | ||
license = stdenv.lib.licenses.gpl3Plus; | ||
platforms = stdenv.lib.platforms.all; |
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.
Same reason: platforms.all
By the way, have you been able to test the build on Darwin/macOS ?
About the tests: a make target |
Ok, so the make target is the default
|
Bah no worries, checks are not mandatory per se. On the platforms topic : has one of you been able to test the build on macOS? |
@GrahamcOfBorg build tikzit |
Success on aarch64-linux (full log) Attempted: tikzit Partial log (click to expand)
|
Thank you for the feedback, @c0bw3b, and thank you for implementing the improvements, @mgttlinger! I also can't test on Mac or Win, and I also didn't figure out how to activate the tests. The project description file |
Success on x86_64-linux (full log) Attempted: tikzit Partial log (click to expand)
|
Note that the travis config in the upstream repo doesn't run those tests either (it seems) so no idea how "maintained" they are anyway. |
Should be fine, upstream doesn't document special steps for building on Darwin. |
* tikzit: init at 2.0 * tikzit: Parallel building and qualification
Motivation for this change
tikzit is a graphical editor for TikZ diagrams (for inclusion in LaTeX files). This pull requests adds tikzit to our repository.
The current version of tikzit is 2.0-rc2. I suggest we wait for 2.0 to be released before including tikzit in nixpkgs, to reduce clutter.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)