blob: 3b4a6edba0ffafb0e115c26336d4eac57d2fc74a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ stdenv, fetchFromGitHub, rustPlatform, Security
}:
rustPlatform.buildRustPackage rec {
pname = "sd";
version = "0.6.5";
src = fetchFromGitHub {
owner = "chmln";
repo = pname;
rev = version;
sha256 = "1vxljmd1vh245yhv095i3l44pk915zr2pix4v9r8pz2fynp2nnmj";
};
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";
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.amar1729 ];
};
}
|