Merge pull request #60241 from Amar1729/init/sd

sd: init at 0.5.0
This commit is contained in:
Sarah Brofeldt 2019-04-27 08:07:54 +02:00 committed by GitHub
commit f96bf5bb2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ stdenv, fetchFromGitHub, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "sd";
version = "0.5.0";
src = fetchFromGitHub {
owner = "chmln";
repo = pname;
rev = "sd-${version}";
sha256 = "1y44qizciir75d1srwm1mlskhflab2b6153d19vblw410in82f5d";
};
cargoSha256 = "1gls68lw8a2c3gsav70l2wasrgav68q5w1nf50jsrbqq9kb4i7nb";
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 ];
};
}

View file

@ -5585,6 +5585,8 @@ in
scrypt = callPackage ../tools/security/scrypt { };
sd = callPackage ../tools/text/sd { };
sdate = callPackage ../tools/misc/sdate { };
sdcv = callPackage ../applications/misc/sdcv { };