Skip to content
Permalink
Browse files

Merge pull request #57116 from marsam/init-lsd

lsd: init at 0.13.0
  • Loading branch information...
ryantm committed Mar 15, 2019
2 parents 795bb9e + 10a2981 commit e59fe2084719a0db3d5dce896e42d2d4e8dbb746
Showing with 30 additions and 0 deletions.
  1. +28 −0 pkgs/tools/misc/lsd/default.nix
  2. +2 −0 pkgs/top-level/all-packages.nix
@@ -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 ];
};
}
@@ -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 {

0 comments on commit e59fe20

Please sign in to comment.
You can’t perform that action at this time.