@@ -1,22 +1,24 @@
1−{ stdenv, fetchFromGitHub, rustPlatform
1+{ stdenv, fetchFromGitHub, rustPlatform, Security
22}:
33
44rustPlatform.buildRustPackage rec {
55 pname = "sd";
6− version = "0.5.0";
6+ version = "0.6.5";
77
88 src = fetchFromGitHub {
99 owner = "chmln";
1010 repo = pname;
11− rev = "sd-${version}";
12− sha256 = "1y44qizciir75d1srwm1mlskhflab2b6153d19vblw410in82f5d";
11+ rev = version;
12+ sha256 = "1vxljmd1vh245yhv095i3l44pk915zr2pix4v9r8pz2fynp2nnmj";
1313 };
1414
15− cargoSha256 = "1gls68lw8a2c3gsav70l2wasrgav68q5w1nf50jsrbqq9kb4i7nb";
15+ cargoSha256 = "1shqphbpn3ib28hnyib7mh1i5q56nshj864jm209s8qggbp96wp1";
16+
17+ buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
1618
1719 meta = with stdenv.lib; {
1820 description = "Intuitive find & replace CLI (sed alternative)";
19− homepage = https://github.com/chmln/sd;
21+ homepage = "https://github.com/chmln/sd";
2022 license = licenses.mit;
2123 platforms = platforms.all;
2224 maintainers = [ maintainers.amar1729 ];