1 { lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-N71oiOlhMMDq0VhujV4SgnnKMQRi5SdplrTjK2vyhUE=";
14 cargoHash = "sha256-EyLompGEin12q6SC1M1D0QsE42HVEq5O/E99qi54cGo=";
16 buildInputs = (lib.optional stdenv.hostPlatform.isDarwin Security);
19 description = "Find and replace text in source files";
20 mainProgram = "ruplacer";
21 homepage = "https://github.com/TankerHQ/ruplacer";
22 license = [ licenses.bsd3 ];
23 maintainers = with maintainers; [ Br1ght0ne ];