Merge pull request #299379 from khaneliman/btrfs

btrfs-assistant: 1.9 -> 2.0
This commit is contained in:
a-n-n-a-l-e-e 2024-04-05 22:25:13 -07:00 committed by GitHub
commit 6cc8dbb009
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 11 deletions

View file

@ -7,25 +7,22 @@
, coreutils
, git
, pkg-config
, qtbase
, qtsvg
, qttools
, qt6
, snapper
, util-linux
, wrapQtAppsHook
, enableSnapper ? true
, nix-update-script
}:
stdenv.mkDerivation (finalAttrs: {
pname = "btrfs-assistant";
version = "1.9";
version = "2.0";
src = fetchFromGitLab {
owner = "btrfs-assistant";
repo = "btrfs-assistant";
rev = finalAttrs.version;
hash = "sha256-a854WI8f9/G/BRU5rn1FKC6WRZyXNYsUL4p258C8ppw=";
hash = "sha256-nE8Vsc0leXWhbrjMgJDef6jl9MqdojRniGcvUmrQNUQ=";
};
nativeBuildInputs = [
@ -36,12 +33,13 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
btrfs-progs
qtbase
qtsvg
qttools
qt6.qtbase
qt6.qtsvg
qt6.qttools
qt6.qtwayland
];
propagatedBuildInputs = [ wrapQtAppsHook ];
propagatedBuildInputs = [ qt6.wrapQtAppsHook ];
prePatch = ''
substituteInPlace src/util/System.cpp \

View file

@ -3563,7 +3563,7 @@ with pkgs;
boulder = callPackage ../tools/admin/boulder { };
btrfs-assistant = libsForQt5.callPackage ../tools/misc/btrfs-assistant { };
btrfs-assistant = qt6.callPackage ../tools/misc/btrfs-assistant { };
btrfs-heatmap = callPackage ../tools/filesystems/btrfs-heatmap { };