Merge pull request #299489 from SuperSandro2000/lsd

lsd: 1.1.1 -> 1.1.2
This commit is contained in:
Mario Rodas 2024-03-27 21:22:07 -05:00 committed by GitHub
commit a1ed40fdd8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,7 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, rustPlatform , rustPlatform
, installShellFiles , installShellFiles
, darwin , darwin
@ -11,16 +12,24 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "lsd"; pname = "lsd";
version = "1.1.1"; version = "1.1.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lsd-rs"; owner = "lsd-rs";
repo = "lsd"; repo = "lsd";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-pPCcKEmB1/BS6Q2j1fytwpZa/5KXIJu0ip0Zq97m6uw="; hash = "sha256-ZMaI0Q/xmYJHWvU4Tha+XVV55zKLukrqkROfBzu/JsQ=";
}; };
cargoHash = "sha256-E0ui9cmuSqUMTkKvNNuEPOVd/gs4O2oW0aPxlyI9qoA="; cargoPatches = [
# fix cargo lock file
(fetchpatch {
url = "https://github.com/lsd-rs/lsd/pull/1021/commits/7593fd7ea0985e273c82b6e80e66a801772024de.patch";
hash = "sha256-ykKLVSM6FbL4Jt5Zk7LuPKcYw/wrpiwU8vhuGz8Pbi0=";
})
];
cargoHash = "sha256-TDHHY5F4lVrKd7r0QfrfUV2xzT6HMA/PtOIStMryaBA=";
nativeBuildInputs = [ installShellFiles pandoc ]; nativeBuildInputs = [ installShellFiles pandoc ];