1{ lib
2, stdenv
3, fetchurl
4, fuse
5, ncurses
6, python3
7}:
8
9stdenv.mkDerivation rec {
10 pname = "libbde";
11 version = "20221031";
12
13 src = fetchurl {
14 url = "https://github.com/libyal/libbde/releases/download/${version}/${pname}-alpha-${version}.tar.gz";
15 sha256 = "sha256-uMbwofboePCFWlxEOdRbZK7uZuj0MZC/qusWuu0Bm7g=";
16 };
17
18 buildInputs = [ fuse ncurses python3 ];
19
20 configureFlags = [ "--enable-python" ];
21
22 meta = with lib; {
23 description = "Library to access the BitLocker Drive Encryption (BDE) format";
24 homepage = "https://github.com/libyal/libbde/";
25 license = licenses.lgpl3;
26 maintainers = with maintainers; [ eliasp ];
27 platforms = platforms.all;
28 };
29}