-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
keystore-explorer: init at 5.4.4 #96046
Conversation
Somewhat related software to easyrsa. |
248f834
to
191f313
Compare
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
cp -R ./* $out/ | ||
rm $out/kse.exe | ||
mv $out/kse.sh $out/keystore-explorer.sh | ||
ln -s $out/keystore-explorer.sh $out/bin/keystore-explorer |
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.
Just put 1 install -D kse.sh $out/bin/keystore-explorer
.
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.
Ended up having to directly write the script similarly to jd-gui: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/security/jd-gui/default.nix#L90
|
||
meta = { | ||
description = "Open source GUI replacement for the Java command-line utilities keytool and jarsigner"; | ||
license = stdenv.lib.licenses.gpl3; |
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.
gpl3 is ambitious. See https://discourse.nixos.org/t/lib-licenses-gpl3-co-are-now-deprecated/8206 .
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.
Changed to gpl3Only since keystore-explorer currently advertises GPL3 on github.
Thanks for the comments - this derivation was adapted from someone's previous nixpkgs build of keystore-explorer. I'll give the build another look to clean it up... |
191f313
to
0a09623
Compare
Alright, that should be a bit better. Also explicitly used jdk8, as more testing revealed crashes with jdk11+. |
c895670
to
326d8a6
Compare
326d8a6
to
ce5d0b6
Compare
Result of 1 package built:
|
Motivation for this change
Adding piece of fairly widely used software.
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)