nixpkgs/pkgs/tools/filesystems/dislocker/default.nix
Renaud 35d99698ae
dislocker: replace polarssl with mbedtls
polarssl is an old alias to mbedtls
2019-11-24 23:16:01 +01:00

31 lines
640 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;
};
}