a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
31 lines
809 B
Nix
31 lines
809 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, fuse
|
|
, ncurses
|
|
, python3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libbde";
|
|
version = "20220121";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/libyal/libbde/releases/download/${version}/${pname}-alpha-${version}.tar.gz";
|
|
sha256 = "sha256-dnSMuTm/nMiZ6t2rbhDqGpp/e9xt5Msz2In8eiuTjC8=";
|
|
};
|
|
|
|
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;
|
|
# never built on aarch64-darwin since first introduction in nixpkgs
|
|
broken = stdenv.isDarwin && stdenv.isAarch64;
|
|
};
|
|
}
|