about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libbde/default.nix
blob: 4bef9748701c21bd79e791fb88429652c350b1d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib
, stdenv
, fetchurl
, fuse
, ncurses
, python3
}:

stdenv.mkDerivation rec {
  pname = "libbde";
  version = "20221031";

  src = fetchurl {
    url = "https://github.com/libyal/libbde/releases/download/${version}/${pname}-alpha-${version}.tar.gz";
    sha256 = "sha256-uMbwofboePCFWlxEOdRbZK7uZuj0MZC/qusWuu0Bm7g=";
  };

  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;
  };
}