-
-
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
display3d: init at 0.2.1 #365657
display3d: init at 0.2.1 #365657
Conversation
Also, all changes should be squashed so that there are only 2 commits. The first with the maintainers list change, the second adding the package |
f8983be
to
c7dcafc
Compare
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 looks good to me, but I don't have commit access, and don't maintain a similar package, so it doesn't make sense for me to leave an approving review.
My suggestion to get it merged would be to find someone who has merged a PR comparable to this into nixpkgs recently, and ping them for a review
Hi @getchoo, are you able to review this? Thank you. |
268819f
to
b330497
Compare
b330497
to
11feff8
Compare
11feff8
to
53ddb57
Compare
I have successfully build and tested the package on Suggestion: diff --git a/pkgs/by-name/di/display3d/package.nix b/pkgs/by-name/di/display3d/package.nix
index 0d21771f5a86..c1e72086deaf 100644
--- a/pkgs/by-name/di/display3d/package.nix
+++ b/pkgs/by-name/di/display3d/package.nix
@@ -2,6 +2,8 @@
lib,
rustPlatform,
fetchFromGitHub,
+ versionCheckHook,
+ nix-update-script,
}:
rustPlatform.buildRustPackage rec {
@@ -18,6 +20,12 @@ rustPlatform.buildRustPackage rec {
useFetchCargoVendor = true;
cargoHash = "sha256-E4Ncg9OPlYGra794pPS9u9oyqep+k3Ser5ZxfV+uSRM=";
+ nativeInstallCheckInputs = [ versionCheckHook ];
+ doInstallCheck = true;
+ versionCheckProgramArg = "--version";
+
+ passthru.updateScript = nix-update-script { };
+
meta = {
description = "CLI for rendering and animating 3D objects";
homepage = "https://github.com/renpenguin/display3d"; |
53ddb57
to
c569f99
Compare
done! should be ready for merge now |
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
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.
Tested on x86_64-linux, and it seems all works well!
Thanks and welcome to Nixpkgs :)
Added display3d, a CLI for rendering and animating 3D objects: https://github.com/renpenguin/display3d
Added renpenguin as a package maintainer for display3d
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.