mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-05-18 03:16:02 +00:00
Merge pull request #74780 from prusnak/fido2luks
fido2luks: init at 0.2.2
This commit is contained in:
commit
48b537e127
2 changed files with 34 additions and 0 deletions
32
pkgs/tools/security/fido2luks/default.nix
Normal file
32
pkgs/tools/security/fido2luks/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
{ stdenv
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cryptsetup
|
||||||
|
, pkg-config
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "fido2luks";
|
||||||
|
version = "0.2.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "shimunn";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "018qzbgmgm0f0d0c7i54nqqjbr4k5mzy1xfavi6hpifjll971wci";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ cryptsetup ];
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
cargoSha256 = "1kf757wxxk5h8dfbz588qw1pnyjbg5qzr7rz14i7x8rhmn5xwb74";
|
||||||
|
verifyCargoDeps = true;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Decrypt your LUKS partition using a FIDO2 compatible authenticator";
|
||||||
|
homepage = "https://github.com/shimunn/fido2luks";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
maintainers = with maintainers; [ prusnak mmahut ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -3240,6 +3240,8 @@ in
|
||||||
|
|
||||||
flux = callPackage ../development/compilers/flux { };
|
flux = callPackage ../development/compilers/flux { };
|
||||||
|
|
||||||
|
fido2luks = callPackage ../tools/security/fido2luks {};
|
||||||
|
|
||||||
fierce = callPackage ../tools/security/fierce { };
|
fierce = callPackage ../tools/security/fierce { };
|
||||||
|
|
||||||
figlet = callPackage ../tools/misc/figlet { };
|
figlet = callPackage ../tools/misc/figlet { };
|
||||||
|
|
Loading…
Add table
Reference in a new issue