argon: init at 2.0.21 (#351091)

This commit is contained in:
Sefa Eyeoglu 2024-12-06 10:32:37 +01:00 committed by GitHub
commit 7dd001f3e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 51 additions and 0 deletions

View File

@ -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";

View File

@ -0,0 +1,45 @@
{
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";
};
}