Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib
2, stdenv
3, fetchurl
4, fuse
5, ncurses
6, python3
7}:
8
9stdenv.mkDerivation rec {
10 pname = "libbde";
11 version = "20210605";
12
13 src = fetchurl {
14 url = "https://github.com/libyal/libbde/releases/download/${version}/${pname}-alpha-${version}.tar.gz";
15 sha256 = "0dk5h7gvp2fgg21n7k600mnayg4g4pc0lm7317k43j1q0p4hkfng";
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}