mirror of
https://github.com/icewind1991/ykoauth-cli.git
synced 2026-06-04 04:24:07 +02:00
nix overlay
This commit is contained in:
parent
bd160f876b
commit
0af7a17d7b
1 changed files with 22 additions and 1 deletions
23
flake.nix
23
flake.nix
|
|
@ -31,5 +31,26 @@
|
||||||
devShell = pkgs.mkShell {
|
devShell = pkgs.mkShell {
|
||||||
nativeBuildInputs = with pkgs; [rustc cargo bacon cargo-edit cargo-outdated clippy] ++ buildDependencies;
|
nativeBuildInputs = with pkgs; [rustc cargo bacon cargo-edit cargo-outdated clippy] ++ buildDependencies;
|
||||||
};
|
};
|
||||||
});
|
}) // {
|
||||||
|
overlay = final: prev: {
|
||||||
|
ykoauth-cli = final.rustPlatform.buildRustPackage rec {
|
||||||
|
version = "0.1.0";
|
||||||
|
pname = "ykoauth-cli";
|
||||||
|
|
||||||
|
src = ./.;
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-GjRuG/DODkOjYmGqaI7nKRyWRCi91Ne3cZvwbWHO0io=";
|
||||||
|
|
||||||
|
nativeBuildInputs = with final; [gcc pkg-config xorg.libX11.dev];
|
||||||
|
buildInputs = with final; [pcsclite xorg.libX11];
|
||||||
|
|
||||||
|
meta = with final.lib; {
|
||||||
|
description = "CLI for reading TOTP keys from yubikeys";
|
||||||
|
homepage = "https://github.com/icewind1991/ykoauth-cli";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue