Unverified Commit 7dd001f3 authored by Sefa Eyeoglu's avatar Sefa Eyeoglu Committed by GitHub
Browse files

argon: init at 2.0.21 (#351091)

parents d8dfbe84 7e78a817
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -21166,6 +21166,12 @@
    github = "stasjok";
    githubId = 1353637;
  };
  StayBlue = {
    name = "StayBlue";
    email = "blue@spook.rip";
    github = "StayBlue";
    githubId = 23127866;
  };
  steamwalker = {
    email = "steamwalker@xs4all.nl";
    github = "steamwalker";
+45 −0
Original line number Diff line number Diff line
{
  lib,
  rustPlatform,
  fetchFromGitHub,
  pkg-config,
  udev,
  zstd,
  stdenv,
}:
rustPlatform.buildRustPackage rec {
  pname = "argon";
  version = "2.0.21";

  src = fetchFromGitHub {
    owner = "argon-rbx";
    repo = "argon";
    rev = "refs/tags/${version}";
    hash = "sha256-msKrPLB+38PU7LEw92xEqFy6JxwMjttBaobIOhU7eWw=";
  };

  cargoHash = "sha256-yXhEgZYtYhrSpwPbL+yi9gaLVVV8sBlF8m3ADUC4kLk=";

  nativeBuildInputs = [ pkg-config ];

  buildInputs =
    [
      zstd
    ]
    ++ lib.optionals stdenv.hostPlatform.isLinux [
      udev
    ];

  env = {
    ZSTD_SYS_USE_PKG_CONFIG = true;
  };

  meta = {
    description = "Full featured tool for Roblox development";
    homepage = "https://github.com/argon-rbx/argon";
    changelog = "https://github.com/argon-rbx/argon/blob/${src.rev}/CHANGELOG.md";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ StayBlue ];
    mainProgram = "argon";
  };
}