Unverified Commit 00aa5cfb authored by Seth Flynn's avatar Seth Flynn Committed by GitHub
Browse files

display3d: init at 0.2.1 (#365657)

parents 83a2581c c569f990
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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";
+36 −0
Original line number Diff line number Diff line
{
  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";
  };
}