Files
nixpkgs/pkgs/tools/security/web-eid-app/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

51 lines
1.3 KiB
Nix

{
lib,
mkDerivation,
fetchFromGitHub,
cmake,
gtest,
pcsclite,
pkg-config,
qttools,
}:
mkDerivation rec {
pname = "web-eid-app";
version = "2.6.0";
src = fetchFromGitHub {
owner = "web-eid";
repo = "web-eid-app";
rev = "v${version}";
hash = "sha256-UqHT85zuoT/ISFP2qgG2J1518eGEvm5L96ntZ/lx9BE=";
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
pkg-config
qttools
];
buildInputs = [
gtest # required during build of lib/libelectronic-id/lib/libpcsc-cpp
pcsclite
];
meta = {
description = "Signing and authentication operations with smart cards for the Web eID browser extension";
mainProgram = "web-eid";
longDescription = ''
The Web eID application performs cryptographic digital signing and
authentication operations with electronic ID smart cards for the Web eID
browser extension (it is the [native messaging host](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging)
for the extension). Also works standalone without the extension in command-line
mode.
'';
homepage = "https://github.com/web-eid/web-eid-app";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.flokli ];
platforms = lib.platforms.linux;
};
}