mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
25 lines
662 B
Nix
25 lines
662 B
Nix
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "ruplacer";
|
|
version = "0.8.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "TankerHQ";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-7qVjJLw90SUtXkfp40u/X84trnJzgCV6mp7b/yNmcPk=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-AV6wxD2KZN53rlJofsDISL6p2dfgw+5F+GiP5u9/2/w=";
|
|
|
|
buildInputs = (lib.optional stdenv.isDarwin Security);
|
|
|
|
meta = with lib; {
|
|
description = "Find and replace text in source files";
|
|
homepage = "https://github.com/TankerHQ/ruplacer";
|
|
license = [ licenses.bsd3 ];
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
|
};
|
|
}
|