commit
b40e84736b
@ -1,22 +1,24 @@
|
|||||||
{ stdenv, fetchFromGitHub, rustPlatform
|
{ stdenv, fetchFromGitHub, rustPlatform, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "sd";
|
pname = "sd";
|
||||||
version = "0.5.0";
|
version = "0.6.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "chmln";
|
owner = "chmln";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "sd-${version}";
|
rev = version;
|
||||||
sha256 = "1y44qizciir75d1srwm1mlskhflab2b6153d19vblw410in82f5d";
|
sha256 = "1vxljmd1vh245yhv095i3l44pk915zr2pix4v9r8pz2fynp2nnmj";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "1gls68lw8a2c3gsav70l2wasrgav68q5w1nf50jsrbqq9kb4i7nb";
|
cargoSha256 = "1shqphbpn3ib28hnyib7mh1i5q56nshj864jm209s8qggbp96wp1";
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Intuitive find & replace CLI (sed alternative)";
|
description = "Intuitive find & replace CLI (sed alternative)";
|
||||||
homepage = https://github.com/chmln/sd;
|
homepage = "https://github.com/chmln/sd";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
maintainers = [ maintainers.amar1729 ];
|
maintainers = [ maintainers.amar1729 ];
|
||||||
|
@ -5785,7 +5785,9 @@ in
|
|||||||
|
|
||||||
scrypt = callPackage ../tools/security/scrypt { };
|
scrypt = callPackage ../tools/security/scrypt { };
|
||||||
|
|
||||||
sd = callPackage ../tools/text/sd { };
|
sd = callPackage ../tools/text/sd {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
sdate = callPackage ../tools/misc/sdate { };
|
sdate = callPackage ../tools/misc/sdate { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user