Merge pull request #72971 from filalex77/ruplacer-0.4.1
ruplacer: init at 0.4.1
This commit is contained in:
commit
ac8d850878
3 changed files with 39 additions and 0 deletions
|
@ -2257,6 +2257,16 @@
|
|||
githubId = 8182846;
|
||||
name = "Francesco Gazzetta";
|
||||
};
|
||||
filalex77 = {
|
||||
email = "brightone@protonmail.com";
|
||||
github = "filalex77";
|
||||
githubId = 12615679;
|
||||
name = "Oleksii Filonenko";
|
||||
keys = [{
|
||||
longkeyid = "rsa3072/0xA1BC8428323ECFE8";
|
||||
fingerprint = "F549 3B7F 9372 5578 FDD3 D0B8 A1BC 8428 323E CFE8";
|
||||
}];
|
||||
};
|
||||
FireyFly = {
|
||||
email = "nix@firefly.nu";
|
||||
github = "FireyFly";
|
||||
|
|
25
pkgs/tools/text/ruplacer/default.nix
Normal file
25
pkgs/tools/text/ruplacer/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ stdenv, fetchFromGitHub, rustPlatform, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "ruplacer";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TankerHQ";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0yj753d9wsnp4s5a71ph241jym5rfz3161a1v3qxfc4w23v86j1q";
|
||||
};
|
||||
|
||||
cargoSha256 = "1lzw4x40j25khf68x5srj8i05c11ls5y7km206vxn19vsy9ah4k9";
|
||||
|
||||
buildInputs = (stdenv.lib.optional stdenv.isDarwin Security);
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Find and replace text in source files";
|
||||
homepage = "https://github.com/TankerHQ/ruplacer";
|
||||
license = [ licenses.bsd3 ];
|
||||
maintainers = with maintainers; [ filalex77 ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -6071,6 +6071,10 @@ in
|
|||
|
||||
runzip = callPackage ../tools/archivers/runzip { };
|
||||
|
||||
ruplacer = callPackage ../tools/text/ruplacer {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
rw = callPackage ../tools/misc/rw { };
|
||||
|
||||
rxp = callPackage ../tools/text/xml/rxp { };
|
||||
|
|
Loading…
Reference in a new issue