summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/text
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2019-06-16 15:00:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2019-06-19 19:58:49 -0500
commit076d9d098b58b5cac30e6c7b084da59b77248bb2 (patch)
tree2d0f336f75ffce8ab1c2847673b5497037c0187d /pkgs/tools/text
parent71b7116f12356338c42e000f8e2f2aa992787f50 (diff)
sd: 0.5.0 -> 0.6.5
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r--pkgs/tools/text/sd/default.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/tools/text/sd/default.nix b/pkgs/tools/text/sd/default.nix
index 6a279b834661..3b4a6edba0ff 100644
--- a/pkgs/tools/text/sd/default.nix
+++ b/pkgs/tools/text/sd/default.nix
@@ -1,22 +1,24 @@
-{ stdenv, fetchFromGitHub, rustPlatform
+{ stdenv, fetchFromGitHub, rustPlatform, Security
}:
rustPlatform.buildRustPackage rec {
pname = "sd";
- version = "0.5.0";
+ version = "0.6.5";
src = fetchFromGitHub {
owner = "chmln";
repo = pname;
- rev = "sd-${version}";
- sha256 = "1y44qizciir75d1srwm1mlskhflab2b6153d19vblw410in82f5d";
+ rev = version;
+ sha256 = "1vxljmd1vh245yhv095i3l44pk915zr2pix4v9r8pz2fynp2nnmj";
};
- cargoSha256 = "1gls68lw8a2c3gsav70l2wasrgav68q5w1nf50jsrbqq9kb4i7nb";
+ cargoSha256 = "1shqphbpn3ib28hnyib7mh1i5q56nshj864jm209s8qggbp96wp1";
+
+ buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "Intuitive find & replace CLI (sed alternative)";
- homepage = https://github.com/chmln/sd;
+ homepage = "https://github.com/chmln/sd";
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.amar1729 ];