Merge pull request #195645 from prusnak/fido2luks

fido2luks: 0.2.20 -> 0.2.21
This commit is contained in:
Pavol Rusnak 2022-10-12 15:10:54 +02:00 committed by GitHub
commit f634d427b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,37 +10,29 @@
rustPlatform.buildRustPackage rec {
pname = "fido2luks";
version = "0.2.20";
version = "0.2.21";
src = fetchFromGitHub {
owner = "shimunn";
repo = pname;
rev = version;
sha256 = "04gl7wn38f42mapmkf026rya668vvhm03yi8iqnz31xgggbr2irm";
sha256 = "sha256-bXwaFiRHURvS5KtTqIj+3GlGNbEulDgMDP51ZiO1w9o=";
};
cargoPatches = [
#https://github.com/shimunn/fido2luks/pull/50
(fetchpatch {
name = "libcryptsetup-rs.patch";
url = "https://github.com/shimunn/fido2luks/commit/c87a9bbb4cbbe90be7385d4bc2946716c593b91d.diff";
sha256 = "2IWz9gcEbXhHlz7VWoJNBZfwnJm/J3RRuXg91xH9Pl4=";
})
];
nativeBuildInputs = [ pkg-config clang ];
buildInputs = [ cryptsetup ];
nativeBuildInputs = [ pkg-config clang ];
configurePhase = ''
export LIBCLANG_PATH="${llvmPackages.libclang.lib}/lib"
'';
cargoSha256 = "U/2dAmFmW6rQvojaKSDdO+/WzajBJmhOZWvzwdiYBm0=";
cargoSha256 = "sha256-MPji87jYJjYtDAXO+v/Z4XRtCKo+ftsNvmlBrM9iMTk=";
meta = with lib; {
description = "Decrypt your LUKS partition using a FIDO2 compatible authenticator";
homepage = "https://github.com/shimunn/fido2luks";
license = licenses.gpl3;
license = licenses.mpl20;
maintainers = with maintainers; [ prusnak mmahut ];
platforms = platforms.linux;
};