Initial commit
This commit is contained in:
commit
aca6849738
5 changed files with 96 additions and 0 deletions
14
softu2f.nix
Normal file
14
softu2f.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ fetchFromGitHub, rustPlatform, openssl, dbus, udev, pkg-config }:
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "softu2f";
|
||||
version = "20221218-git";
|
||||
src = fetchFromGitHub {
|
||||
owner = "danstiner";
|
||||
repo = "rust-u2f";
|
||||
rev = "da1a256e804395588c21c0dd9891310506746e7a";
|
||||
sha256 = "sha256-Ci1X7Gi1+sL7sPXcPiIjAHDJOO8SmDD9GRajdv6tm0o=";
|
||||
};
|
||||
cargoSha256 = "sha256-LrO7zW5+BcuxoGfNe2UW8q65GAhVeVyLoPC60htIt8k=";
|
||||
buildInputs = [ openssl dbus udev ];
|
||||
nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue