2021-12-06 16:07:01 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, fuse
|
|
|
|
, ncurses
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libbde";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "20221031";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/libyal/libbde/releases/download/${version}/${pname}-alpha-${version}.tar.gz";
|
2023-01-20 10:41:00 +00:00
|
|
|
sha256 = "sha256-uMbwofboePCFWlxEOdRbZK7uZuj0MZC/qusWuu0Bm7g=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ fuse ncurses python3 ];
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-python" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Library to access the BitLocker Drive Encryption (BDE) format";
|
|
|
|
homepage = "https://github.com/libyal/libbde/";
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ eliasp ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|