lsd: 0.18.0 -> 0.19.0

https://github.com/Peltoche/lsd/releases/tag/0.19.0
This commit is contained in:
zowoq 2020-12-13 16:14:18 +10:00
parent f37a1749c3
commit 665fa6c53a

View File

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