Skip to content

Commit

Permalink
Merge pull request #72971 from filalex77/ruplacer-0.4.1
Browse files Browse the repository at this point in the history
ruplacer: init at 0.4.1
  • Loading branch information
c0bw3b committed Nov 8, 2019
2 parents 3022fde + 8bb7737 commit ac8d850
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
10 changes: 10 additions & 0 deletions maintainers/maintainer-list.nix
Expand Up @@ -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";
Expand Down
25 changes: 25 additions & 0 deletions pkgs/tools/text/ruplacer/default.nix
@@ -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;
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -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 { };
Expand Down

0 comments on commit ac8d850

Please sign in to comment.