Skip to content

Commit

Permalink
linuxPackages.shufflecake: 0.4.4 -> 0.5.1 (#343906)
Browse files Browse the repository at this point in the history
  • Loading branch information
FliegendeWurst authored Dec 8, 2024
2 parents 1db42df + bf94a91 commit 606c3f8
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions pkgs/os-specific/linux/shufflecake/default.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,35 @@
{ lib, kernel, stdenv, fetchFromGitea, libgcrypt, lvm2 }:
{
lib,
kernel,
stdenv,
fetchFromGitea,
libgcrypt,
lvm2,
}:
stdenv.mkDerivation (finalAttrs: {
name = "shufflecake";
version = "0.4.4";
version = "0.5.1";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "shufflecake";
repo = "shufflecake-c";
rev = "v${finalAttrs.version}";
hash = "sha256-zvGHM5kajJlROI8vg1yZQ5NvJvuGLV2iKvumdW8aglA=";
hash = "sha256-ULRx+WEz7uQ1C0JDaXORo6lmiwBAwD20j/XP92YE/K0=";
};

nativeBuildInputs = kernel.moduleBuildDependencies;
buildInputs = [ libgcrypt lvm2 ];
buildInputs = [
libgcrypt
lvm2
];
makeFlags = kernel.makeFlags ++ [
"KERNEL_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
];

outputs = [ "out" "bin" ];
outputs = [
"out"
"bin"
];

installPhase = ''
install -Dm444 dm-sflc.ko $out/lib/modules/${kernel.modDirVersion}/drivers/md/dm-sflc.ko
Expand All @@ -30,7 +43,6 @@ stdenv.mkDerivation (finalAttrs: {
maintainers = with maintainers; [ oluceps ];
outputsToInstall = [ "bin" ];
platforms = platforms.linux;
broken = kernel.kernelOlder "6.1";
broken = kernel.kernelOlder "6.1" || kernel.meta.name == "linux-lqx-6.12.1";
};
})

0 comments on commit 606c3f8

Please sign in to comment.