mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
50 lines
1.3 KiB
Nix
50 lines
1.3 KiB
Nix
{ lib
|
|
, mkDerivation
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, gtest
|
|
, pcsclite
|
|
, pkg-config
|
|
, qttools
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "web-eid-app";
|
|
version = "2.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "web-eid";
|
|
repo = "web-eid-app";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-xWwguxs/121BFF1zhb/HxS9b1vTwQRemhPKOfHEXVZQ=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
qttools
|
|
];
|
|
|
|
buildInputs = [
|
|
gtest # required during build of lib/libelectronic-id/lib/libpcsc-cpp
|
|
pcsclite
|
|
];
|
|
|
|
meta = with lib; {
|
|
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 = licenses.mit;
|
|
maintainers = [ maintainers.flokli ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|