mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-14 17:04:42 +00:00
shufflecake: 0.4.4 -> 0.5.1
This commit is contained in:
parent
61194a6d4b
commit
bf94a91994
@ -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
|
||||
@ -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";
|
||||
};
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user