fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5 pkg-config,
6 udev,
7 zstd,
8 stdenv,
9}:
10rustPlatform.buildRustPackage rec {
11 pname = "argon";
12 version = "2.0.27";
13
14 src = fetchFromGitHub {
15 owner = "argon-rbx";
16 repo = "argon";
17 tag = version;
18 hash = "sha256-AcgaY7XmecqvWan81tVxV6UJ+A38tAYDlvUSLLKlYuU=";
19 };
20
21 cargoHash = "sha256-0VIPAcCK7+te7TgH/+x0Y7pP0fYWuRT58/h9OIva0mQ=";
22
23 nativeBuildInputs = [ pkg-config ];
24
25 buildInputs = [
26 zstd
27 ]
28 ++ lib.optionals stdenv.hostPlatform.isLinux [
29 udev
30 ];
31
32 env = {
33 ZSTD_SYS_USE_PKG_CONFIG = true;
34 };
35
36 meta = {
37 description = "Full featured tool for Roblox development";
38 homepage = "https://github.com/argon-rbx/argon";
39 changelog = "https://github.com/argon-rbx/argon/blob/${src.rev}/CHANGELOG.md";
40 license = lib.licenses.asl20;
41 maintainers = with lib.maintainers; [ StayBlue ];
42 mainProgram = "argon";
43 };
44}