Merge pull request #314609 from Scrumplex/pkgs/felix-fm/2.13.0

felix-fm: 2.12.1 -> 2.13.0
This commit is contained in:
Nick Cao
2024-05-26 09:49:00 -04:00
committed by GitHub
2 changed files with 16 additions and 5 deletions
@@ -1,9 +1,11 @@
{ lib
, rustPlatform
, fetchFromGitHub
, fetchpatch2
, pkg-config
, bzip2
, libgit2
, nix-update-script
, zlib
, zstd
, zoxide
@@ -11,16 +13,25 @@
rustPlatform.buildRustPackage rec {
pname = "felix";
version = "2.12.1";
version = "2.13.0";
src = fetchFromGitHub {
owner = "kyoheiu";
repo = "felix";
rev = "v${version}";
hash = "sha256-M+auLJeD5rDk5LJfTBg9asZ3J4DHsZG4UGRhXdZZVkc=";
hash = "sha256-7KuL3YkKhjcZSMSipbNITaA9/MGo54f3lz3fVOgy52s=";
};
cargoHash = "sha256-GzaBaaGjBCz+xd1bpU2cebQvg5DO0qipHwhOerbq+ow=";
cargoPatches = [
# https://github.com/kyoheiu/felix/pull/292
(fetchpatch2 {
name = "update-cargo.lock-for-2.13.0.patch";
url = "https://github.com/kyoheiu/felix/commit/5085b147103878ee8138d4fcf7b204223ba2c3eb.patch";
hash = "sha256-7Bga9hcJCXExA/jnrR/HuZgOOVBbWs1tdTwxldcvdU8=";
})
];
cargoHash = "sha256-FX3AsahU5ZLMuylwo1jihP9G4Dw1SFv1oMXcuOqDTF8=";
nativeBuildInputs = [ pkg-config ];
@@ -45,6 +56,8 @@ rustPlatform.buildRustPackage rec {
"--skip=state::tests::test_has_write_permission"
];
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "A tui file manager with vim-like key mapping";
homepage = "https://github.com/kyoheiu/felix";
-2
View File
@@ -2897,8 +2897,6 @@ with pkgs;
inherit (qt5) wrapQtAppsHook;
};
felix-fm = callPackage ../applications/file-managers/felix-fm { };
krusader = libsForQt5.callPackage ../applications/file-managers/krusader { };
lesscpy = callPackage ../development/compilers/lesscpy { };