2019-11-24 22:16:01 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
2016-06-20 23:58:04 +00:00
|
|
|
, cmake
|
2019-11-24 22:16:01 +00:00
|
|
|
, mbedtls
|
|
|
|
, fuse
|
2016-06-20 23:58:04 +00:00
|
|
|
}:
|
2019-11-24 22:16:01 +00:00
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "dislocker";
|
2019-11-24 22:16:01 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2019-11-24 22:16:01 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ fuse mbedtls ];
|
2016-06-20 23:58:04 +00:00
|
|
|
|
2019-11-24 22:16:01 +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;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ elitak ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|