ruplacer: init at 0.4.1

This commit is contained in:
Oleksii Filonenko 2019-11-07 12:36:04 +02:00
parent 8e53c16872
commit 8bb7737945
No known key found for this signature in database
GPG Key ID: F3510FE5691629A1
2 changed files with 29 additions and 0 deletions

View 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;
};
}

View File

@ -6057,6 +6057,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 { };