Merge pull request #57828 from marsam/update-lsd

lsd: 0.13.0 -> 0.14.0
This commit is contained in:
Vladyslav M 2019-03-17 21:48:16 +02:00 committed by GitHub
commit 1a2c78b420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, rustPlatform }: { stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
name = "lsd-${version}"; pname = "lsd";
version = "0.13.0"; version = "0.14.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Peltoche"; owner = "Peltoche";
repo = "lsd"; repo = "lsd";
rev = version; rev = version;
sha256 = "0s0pgnhzhkjm78cp12jscpld0m2mslin5yb273wzdvx4wax2s17z"; sha256 = "1k054c4mz0z9knfn7kvvs3305z2g2w44l0cjg4k3cax06ic1grlr";
}; };
cargoSha256 = "0pg4wsk2qaljrqklnl5p3iv83314wmybyxsn1prvsjsl4b64mil9"; cargoSha256 = "0pg4wsk2qaljrqklnl5p3iv83314wmybyxsn1prvsjsl4b64mil9";
@ -19,6 +19,9 @@ rustPlatform.buildRustPackage rec {
install -Dm644 -t $out/share/bash-completion/completions/ target/release/build/lsd-*/out/lsd.bash install -Dm644 -t $out/share/bash-completion/completions/ target/release/build/lsd-*/out/lsd.bash
''; '';
# Some tests fail, but Travis ensures a proper build
doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://github.com/Peltoche/lsd; homepage = https://github.com/Peltoche/lsd;
description = "The next gen ls command"; description = "The next gen ls command";