nixpkgs/pkgs/tools/filesystems/dislocker/default.nix

31 lines
642 B
Nix
Raw Normal View History

{ stdenv
, fetchFromGitHub
2016-06-20 23:58:04 +00:00
, cmake
, mbedtls
, fuse
2016-06-20 23:58:04 +00:00
}:
stdenv.mkDerivation rec {
2019-08-13 21:52:01 +00:00
pname = "dislocker";
version = "0.7.1";
2016-06-20 23:58:04 +00:00
src = fetchFromGitHub {
owner = "aorimn";
repo = "dislocker";
rev = "v${version}";
2018-03-09 21:06:58 +00:00
sha256 = "1crh2sg5x1kgqmdrl1nmrqwxjykxa4zwnbggcpdn97mj2gvdw7sb";
2016-06-20 23:58:04 +00:00
};
nativeBuildInputs = [ cmake ];
buildInputs = [ fuse mbedtls ];
2016-06-20 23:58:04 +00:00
meta = with stdenv.lib; {
2016-06-20 23:58:04 +00:00
description = "Read BitLocker encrypted partitions in Linux";
homepage = "https://github.com/aorimn/dislocker";
2016-06-20 23:58:04 +00:00
license = licenses.gpl2;
maintainers = with maintainers; [ elitak ];
platforms = platforms.linux;
};
}