Skip to content

Commit

Permalink
Merge pull request NixOS#299379 from khaneliman/btrfs
Browse files Browse the repository at this point in the history
btrfs-assistant: 1.9 -> 2.0
  • Loading branch information
a-n-n-a-l-e-e authored Apr 6, 2024
2 parents e7bb375 + f60032a commit 6cc8dbb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
18 changes: 8 additions & 10 deletions pkgs/tools/misc/btrfs-assistant/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };

Expand Down

0 comments on commit 6cc8dbb

Please sign in to comment.