-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
gcviewer: init at 1.37-unreleased #276100
base: master
Are you sure you want to change the base?
Conversation
Version 1.36 was released 4 years ago so we opt for a more recent, unreleased version.
Is upstream alive? Have you tried contacting them about making a new release? |
It has had commits in the last year, so it's not "dead". I opened an issue to request a new release: chewiebug/GCViewer#276 |
in | ||
maven.buildMavenPackage { | ||
pname = "GCViewer"; | ||
version = "1.37-unreleased"; |
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.
version = "1.37-unreleased"; | |
version = "1.37-unstable-YYYY-MM-DD"; |
with the date of last commit.
|
||
nativeBuildInputs = [ git makeWrapper ]; | ||
|
||
installPhase = '' |
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.
Should include runHook preInstall, runHook postInstall
mkdir -p $out/bin $out/share | ||
jarfile=$(cd target && echo *.jar) | ||
install -Dm644 "target/$jarfile" $out/share/ | ||
makeWrapper ${jre}/bin/java $out/bin/gcviewer \ |
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.
makeWrapper ${jre}/bin/java $out/bin/gcviewer \ | |
makeWrapper ${lib.getExe jre} $out/bin/gcviewer \ |
rev = "af97692884ac918ccbdf7a123fa698460a1d397e"; | ||
hash = "sha256-o4TPerkcu1Um701IHqqRQr/eCjm+WUCbI0uZBlhCBis="; | ||
} | ||
; |
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.
Please format with the new formatter.
Description of changes
Version 1.36 was released 4 years ago so we opt for a more recent, unreleased version.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.