-
-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
stirling-pdf: init at 0.22.3 #283305
stirling-pdf: init at 0.22.3 #283305
Conversation
I've tested it and it works.
I don't know if I care. I'm just happy to try it out! Thank you so much for packaging it! |
438be55
to
f0b0f37
Compare
cfed41f
to
bded1c9
Compare
Result of 1 package built:
|
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.
piping into sh looks weird though i don't claim it can't work. Everything else makes sense.
| perl -pe 's#(.*/([^/]+)/([^/]+)/([^/]+)/[0-9a-f]{30,40}/([^/\s]+))$# ($x = $2) =~ tr|\.|/|; "install -Dm444 $1 \$out/$x/$3/$4/$5" #e' \ | ||
| sh | ||
# weird dependency resolution fix | ||
ln -s $out/com/squareup/okio/okio-jvm/3.6.0/okio-jvm-3.6.0.jar $out/com/squareup/okio/okio/3.6.0/okio-3.6.0.jar |
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.
How maintainable is this bit hardcoding versions here in case upstream dependencies change?
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.
It's going to return an error if the dependencies change, so I can easily just change this version accordingly.
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.
LGTM
Description of changes
Closes #282169
This PR adds 1 package:
stirling-pdf
This is a gradle app, so it got the typical gradle treatment: prefetch deps, then use them as a fake maven repository
The package generates a signed jar file, which is apparently not supported by the backend of
stripJavaArchivesHook
, so I had to use the built-in gradle way of fixing the timestamps of the jar files.Other than this patch there's one which removes the
spotless
, because it couldn't resolve all its dependencies correctly. There's another one, which removes the timestamp header from a.properties
fileThings 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.