Merge pull request #195645 from prusnak/fido2luks
fido2luks: 0.2.20 -> 0.2.21
This commit is contained in:
commit
f634d427b0
1 changed files with 5 additions and 13 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue