nixpkgs/pkgs/tools/security/web-eid-app/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
1.3 KiB
Nix
Raw Normal View History

2023-04-18 20:43:14 +00:00
{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, gtest
, pcsclite
, pkg-config
, qmake
, qttranslations
}:
mkDerivation rec {
pname = "web-eid-app";
2023-04-21 23:56:11 +00:00
version = "2.3.0";
2023-04-18 20:43:14 +00:00
src = fetchFromGitHub {
owner = "web-eid";
repo = "web-eid-app";
rev = "v${version}";
2023-04-21 23:56:11 +00:00
sha256 = "sha256-ktYToJ8mnDOiqOHf8iEl1CyHkJ4rAn2lbD0ikc2ctXw=";
2023-04-18 20:43:14 +00:00
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
gtest # required during build of lib/libelectronic-id/lib/libpcsc-cpp
pcsclite
qttranslations
];
meta = with lib; {
description = "signing and authentication operations with smart cards for the Web eID browser extension";
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 = licenses.mit;
maintainers = [ maintainers.flokli ];
platforms = platforms.linux;
};
}