From 50d2d70cbabdcfe330474e82bc5be10112d560c3 Mon Sep 17 00:00:00 2001 From: StayBlue Date: Thu, 24 Oct 2024 23:24:43 -0700 Subject: [PATCH 1/2] maintainers: add StayBlue --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 6e50e5d0e96f..78f15ad34947 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -21101,6 +21101,12 @@ github = "stasjok"; githubId = 1353637; }; + StayBlue = { + name = "StayBlue"; + email = "blue@spook.rip"; + github = "StayBlue"; + githubId = 23127866; + }; steamwalker = { email = "steamwalker@xs4all.nl"; github = "steamwalker"; From 7e78a8175508307cee39bd1c069378723b02d833 Mon Sep 17 00:00:00 2001 From: StayBlue Date: Thu, 24 Oct 2024 23:25:19 -0700 Subject: [PATCH 2/2] argon: init at 2.0.21 --- pkgs/by-name/ar/argon/package.nix | 45 +++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 pkgs/by-name/ar/argon/package.nix diff --git a/pkgs/by-name/ar/argon/package.nix b/pkgs/by-name/ar/argon/package.nix new file mode 100644 index 000000000000..46c6364dc70f --- /dev/null +++ b/pkgs/by-name/ar/argon/package.nix @@ -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"; + }; +}