nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 rustPlatform,
5 pkg-config,
6 openssl,
7}:
8
9rustPlatform.buildRustPackage rec {
10 pname = "remodel";
11 version = "0.11.0";
12
13 src = fetchFromGitHub {
14 owner = "rojo-rbx";
15 repo = "remodel";
16 rev = "v${version}";
17 sha256 = "sha256-tZ6ptGeNBULJaoFomMFN294wY8YUu1SrJh4UfOL/MnI=";
18 };
19
20 cargoHash = "sha256-41EkXciQZ7lGlD+gVlZEahrGPeEMmaIaiF7tYff9xXw=";
21
22 nativeBuildInputs = [
23 pkg-config
24 ];
25
26 buildInputs = [
27 openssl
28 ];
29
30 meta = {
31 description = "Roblox file manipulation tool";
32 mainProgram = "remodel";
33 longDescription = ''
34 Remodel is a command line tool for manipulating Roblox files and the instances contained within them.
35 '';
36 homepage = "https://github.com/rojo-rbx/remodel";
37 downloadPage = "https://github.com/rojo-rbx/remodel/releases/tag/v${version}";
38 changelog = "https://github.com/rojo-rbx/remodel/raw/v${version}/CHANGELOG.md";
39 license = lib.licenses.mit;
40 maintainers = with lib.maintainers; [ wackbyte ];
41 };
42}