depot/third_party/nixpkgs/pkgs/tools/filesystems/dislocker/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

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