python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / tools / remodel / default.nix
blob75c5ff2df3dacb1e8a52cb9db0653a69f141d6c7
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , rustPlatform
5 , pkg-config
6 , openssl
7 , Security
8 }:
10 rustPlatform.buildRustPackage rec {
11   pname = "remodel";
12   version = "0.11.0";
14   src = fetchFromGitHub {
15     owner = "rojo-rbx";
16     repo = "remodel";
17     rev = "v${version}";
18     sha256 = "sha256-tZ6ptGeNBULJaoFomMFN294wY8YUu1SrJh4UfOL/MnI=";
19   };
21   cargoSha256 = "sha256-YCYs+MMTxnJEKhzjddBp7lnSYPrpf3G+ktr1ez/ZKkg=";
23   nativeBuildInputs = [
24     pkg-config
25   ];
27   buildInputs = [
28     openssl
29   ] ++ lib.optionals stdenv.isDarwin [
30     Security
31   ];
33   meta = with lib; {
34     description = "Roblox file manipulation tool";
35     longDescription = ''
36       Remodel is a command line tool for manipulating Roblox files and the instances contained within them.
37     '';
38     homepage = "https://github.com/rojo-rbx/remodel";
39     downloadPage = "https://github.com/rojo-rbx/remodel/releases/tag/v${version}";
40     changelog = "https://github.com/rojo-rbx/remodel/raw/v${version}/CHANGELOG.md";
41     license = licenses.mit;
42     maintainers = with maintainers; [ wackbyte ];
43   };