display3d: init at 0.2.1 (#365657)

This commit is contained in:
Seth Flynn 2025-02-11 21:13:56 -05:00 committed by GitHub
commit 00aa5cfbf0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 42 additions and 0 deletions

View file

@ -19590,6 +19590,12 @@
githubId = 93167100;
keys = [ { fingerprint = "9075 CEF8 9850 D261 6599 641A A2C9 36D5 B88C 139C"; } ];
};
renpenguin = {
email = "redpenguin777@yahoo.com";
github = "renpenguin";
githubId = 79577742;
name = "ren";
};
renzo = {
email = "renzocarbonara@gmail.com";
github = "k0001";

View file

@ -0,0 +1,36 @@
{
lib,
rustPlatform,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "display3d";
version = "0.2.1";
src = fetchFromGitHub {
owner = "renpenguin";
repo = "display3d";
tag = "v${version}";
hash = "sha256-WGcocX3WYtTleh2f3F0yi3KBAMo1/dtlfVy1pQVhWgw=";
};
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";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ renpenguin ];
mainProgram = "display3d";
};
}