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