mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-10 23:13:56 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
46 lines
1.1 KiB
Nix
46 lines
1.1 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, pkg-config
|
|
, openssl
|
|
, Security
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "remodel";
|
|
version = "0.11.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rojo-rbx";
|
|
repo = "remodel";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-tZ6ptGeNBULJaoFomMFN294wY8YUu1SrJh4UfOL/MnI=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-YCYs+MMTxnJEKhzjddBp7lnSYPrpf3G+ktr1ez/ZKkg=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
openssl
|
|
] ++ lib.optionals stdenv.isDarwin [
|
|
Security
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Roblox file manipulation tool";
|
|
mainProgram = "remodel";
|
|
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 ];
|
|
};
|
|
}
|