3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/text/ruplacer/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
662 B
Nix
Raw Permalink Normal View History

{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
2019-11-07 10:36:04 +00:00
rustPlatform.buildRustPackage rec {
pname = "ruplacer";
2022-11-17 01:38:00 +00:00
version = "0.8.1";
2019-11-07 10:36:04 +00:00
src = fetchFromGitHub {
owner = "TankerHQ";
repo = pname;
rev = "v${version}";
2022-11-17 01:38:00 +00:00
sha256 = "sha256-7qVjJLw90SUtXkfp40u/X84trnJzgCV6mp7b/yNmcPk=";
2019-11-07 10:36:04 +00:00
};
2022-11-17 01:38:00 +00:00
cargoSha256 = "sha256-AV6wxD2KZN53rlJofsDISL6p2dfgw+5F+GiP5u9/2/w=";
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
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 ];
maintainers = with maintainers; [ Br1ght0ne ];
2019-11-07 10:36:04 +00:00
};
}