nixpkgs/pkgs/development/tools/remodel/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
1.0 KiB
Nix
Raw Normal View History

2022-07-16 18:08:32 +00:00
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, pkg-config
, openssl
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "remodel";
2022-09-19 02:49:07 +00:00
version = "0.11.0";
2022-07-16 18:08:32 +00:00
src = fetchFromGitHub {
owner = "rojo-rbx";
repo = "remodel";
rev = "v${version}";
2022-09-19 02:49:07 +00:00
sha256 = "sha256-tZ6ptGeNBULJaoFomMFN294wY8YUu1SrJh4UfOL/MnI=";
2022-07-16 18:08:32 +00:00
};
2022-09-19 02:49:07 +00:00
cargoSha256 = "sha256-YCYs+MMTxnJEKhzjddBp7lnSYPrpf3G+ktr1ez/ZKkg=";
2022-07-16 18:08:32 +00:00
nativeBuildInputs = [
pkg-config
];
buildInputs = [
openssl
] ++ lib.optionals stdenv.isDarwin [
Security
];
meta = with lib; {
description = "Roblox file manipulation tool";
longDescription = ''
Remodel is a command line tool for manipulating Roblox files and the instances contained within them.
'';
homepage = "https://github.com/rojo-rbx/remodel";
downloadPage = "https://github.com/rojo-rbx/remodel/releases/tag/v${version}";
changelog = "https://github.com/rojo-rbx/remodel/raw/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ wackbyte ];
};
}