2021-10-05 22:21:24 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, fuse
|
|
|
|
, ncurses
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libbde";
|
2022-07-31 17:37:51 +00:00
|
|
|
version = "20220121";
|
2021-10-05 22:21:24 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/libyal/libbde/releases/download/${version}/${pname}-alpha-${version}.tar.gz";
|
2022-07-31 17:37:51 +00:00
|
|
|
sha256 = "sha256-dnSMuTm/nMiZ6t2rbhDqGpp/e9xt5Msz2In8eiuTjC8=";
|
2021-10-05 22:21:24 +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;
|
|
|
|
};
|
|
|
|
}
|