Merge pull request #106850 from zowoq/lsd

lsd: 0.18.0 -> 0.19.0
This commit is contained in:
Mario Rodas 2020-12-14 07:47:04 -05:00 committed by GitHub
commit edf4a05082
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,25 +7,24 @@
rustPlatform.buildRustPackage rec {
pname = "lsd";
version = "0.18.0";
version = "0.19.0";
src = fetchFromGitHub {
owner = "Peltoche";
repo = pname;
rev = version;
sha256 = "006fy87jrb77cpa6bywchcvq1p74vlpy151q1j4nsj8npbr02krj";
sha256 = "1iiczdsqw0i6cz492177z6lr8s7fikn151j8p76fmr77zk0bm6q2";
};
cargoSha256 = "0mrvcca9y0vylcrbfxxba45v05qxd8z91vb4in88px60xah0dy3q";
cargoSha256 = "1r2mkpicsyihlrim3bnmscgg5rnaijpvgq8c846zqj7ly8v8qqvg";
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installShellCompletion $releaseDir/build/lsd-*/out/{_lsd,lsd.{bash,fish}}
'';
checkFlags = stdenv.lib.optionals stdenv.isDarwin [
"--skip meta::filetype::test::test_socket_type"
];
# Found argument '--test-threads' which wasn't expected, or isn't valid in this context
doCheck = false;
passthru.tests = { inherit (nixosTests) lsd; };