12b91943b4
Fixes CVE-2025-11568. https://github.com/latchset/luksmeta/releases/tag/v10
37 lines
719 B
Nix
37 lines
719 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
asciidoc,
|
|
cryptsetup,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "luksmeta";
|
|
version = "10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "latchset";
|
|
repo = "luksmeta";
|
|
tag = "v${version}";
|
|
hash = "sha256-oasodAfUOgq2s0l+MIfCBTMo0ouXy73prVDnjLfMJA8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
asciidoc
|
|
];
|
|
buildInputs = [ cryptsetup ];
|
|
|
|
meta = {
|
|
description = "Simple library for storing metadata in the LUKSv1 header";
|
|
mainProgram = "luksmeta";
|
|
homepage = "https://github.com/latchset/luksmeta/";
|
|
maintainers = with lib.maintainers; [ fpletz ];
|
|
license = lib.licenses.lgpl21Plus;
|
|
};
|
|
}
|