nixpkgs/pkgs/tools/filesystems/dislocker/default.nix
2020-04-10 17:54:53 +01:00

31 lines
642 B
Nix

{ stdenv
, fetchFromGitHub
, cmake
, mbedtls
, fuse
}:
stdenv.mkDerivation rec {
pname = "dislocker";
version = "0.7.1";
src = fetchFromGitHub {
owner = "aorimn";
repo = "dislocker";
rev = "v${version}";
sha256 = "1crh2sg5x1kgqmdrl1nmrqwxjykxa4zwnbggcpdn97mj2gvdw7sb";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ fuse mbedtls ];
meta = with stdenv.lib; {
description = "Read BitLocker encrypted partitions in Linux";
homepage = "https://github.com/aorimn/dislocker";
license = licenses.gpl2;
maintainers = with maintainers; [ elitak ];
platforms = platforms.linux;
};
}