diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libbde/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libbde/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libbde/default.nix b/nixpkgs/pkgs/development/libraries/libbde/default.nix new file mode 100644 index 000000000000..ba44a200e83b --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libbde/default.nix @@ -0,0 +1,29 @@ +{ lib +, stdenv +, fetchurl +, fuse +, ncurses +, python3 +}: + +stdenv.mkDerivation rec { + pname = "libbde"; + version = "20210605"; + + src = fetchurl { + url = "https://github.com/libyal/libbde/releases/download/${version}/${pname}-alpha-${version}.tar.gz"; + sha256 = "0dk5h7gvp2fgg21n7k600mnayg4g4pc0lm7317k43j1q0p4hkfng"; + }; + + 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; + }; +} |