3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #57116 from marsam/init-lsd

lsd: init at 0.13.0
This commit is contained in:
Ryan Mulligan 2019-03-14 21:08:13 -07:00 committed by GitHub
commit e59fe20847
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
name = "lsd-${version}";
version = "0.13.0";
src = fetchFromGitHub {
owner = "Peltoche";
repo = "lsd";
rev = version;
sha256 = "0s0pgnhzhkjm78cp12jscpld0m2mslin5yb273wzdvx4wax2s17z";
};
cargoSha256 = "0pg4wsk2qaljrqklnl5p3iv83314wmybyxsn1prvsjsl4b64mil9";
preFixup = ''
install -Dm644 -t $out/share/zsh/site-functions/ target/release/build/lsd-*/out/_lsd
install -Dm644 -t $out/share/fish/vendor_completions.d/ target/release/build/lsd-*/out/lsd.fish
install -Dm644 -t $out/share/bash-completion/completions/ target/release/build/lsd-*/out/lsd.bash
'';
meta = with stdenv.lib; {
homepage = https://github.com/Peltoche/lsd;
description = "The next gen ls command";
license = licenses.asl20;
maintainers = [ maintainers.marsam ];
};
}

View file

@ -3793,6 +3793,8 @@ in
lolcat = callPackage ../tools/misc/lolcat { };
lsd = callPackage ../tools/misc/lsd { };
lsdvd = callPackage ../tools/cd-dvd/lsdvd {};
lsyncd = callPackage ../applications/networking/sync/lsyncd {