1{ lib
2, stdenv
3, fetchFromGitHub
4, rustPlatform
5, pkg-config
6, openssl
7}:
8
9rustPlatform.buildRustPackage rec {
10 pname = "rojo";
11 version = "7.2.1";
12
13 src = fetchFromGitHub {
14 owner = "rojo-rbx";
15 repo = "rojo";
16 rev = "v${version}";
17 sha256 = "sha256-Kmq/lBwayYkFU4mbjExj7M9wpg59OkIiTc+2ZrwpuBc=";
18 fetchSubmodules = true;
19 };
20
21 cargoSha256 = "sha256-qx6Ja0DMe4cEmDSpovtY9T3+0nJS9XivR92K3UKgacE=";
22
23 nativeBuildInputs = [
24 pkg-config
25 ];
26
27 buildInputs = [
28 openssl
29 ];
30
31 meta = with lib; {
32 description = "Project management tool for Roblox";
33 longDescription = ''
34 Rojo is a tool designed to enable Roblox developers to use professional-grade software engineering tools.
35 '';
36 homepage = "https://rojo.space";
37 downloadPage = "https://github.com/rojo-rbx/rojo/releases/tag/v${version}";
38 changelog = "https://github.com/rojo-rbx/rojo/raw/v${version}/CHANGELOG.md";
39 license = licenses.mpl20;
40 maintainers = with maintainers; [ wackbyte ];
41 };
42}