2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, mbedtls
|
|
|
|
, fuse
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dislocker";
|
2020-11-30 08:33:03 +00:00
|
|
|
version = "0.7.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aorimn";
|
|
|
|
repo = "dislocker";
|
|
|
|
rev = "v${version}";
|
2020-11-30 08:33:03 +00:00
|
|
|
sha256 = "1ak68s1v5dwh8y2dy5zjybmrh0pnqralmyqzis67y21m87g47h2k";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ fuse mbedtls ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +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;
|
|
|
|
};
|
|
|
|
}
|