2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
|
2019-11-07 10:36:04 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "ruplacer";
|
|
|
|
version = "0.4.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "TankerHQ";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0yj753d9wsnp4s5a71ph241jym5rfz3161a1v3qxfc4w23v86j1q";
|
|
|
|
};
|
|
|
|
|
2020-02-16 21:45:14 +00:00
|
|
|
cargoSha256 = "0wrv4k63pc1v0apmxmmci9qaykcv9ig3nfxy6id5caqrckp73cr4";
|
2019-11-07 10:36:04 +00:00
|
|
|
|
2021-01-15 09:19:50 +00:00
|
|
|
buildInputs = (lib.optional stdenv.isDarwin Security);
|
2019-11-07 10:36:04 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-11-07 10:36:04 +00:00
|
|
|
description = "Find and replace text in source files";
|
|
|
|
homepage = "https://github.com/TankerHQ/ruplacer";
|
|
|
|
license = [ licenses.bsd3 ];
|
2020-11-17 11:02:06 +00:00
|
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
2019-11-07 10:36:04 +00:00
|
|
|
};
|
|
|
|
}
|