blob: c4b35ed6c5274c98a8a391d719e2421e3fafe8e7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{ stdenv, fetchgit, cmake, gettext, makeWrapper, pkgconfig, libdigidocpp
, opensc, openldap, openssl, pcsclite, qtbase, qttranslations }:
stdenv.mkDerivation rec {
name = "qdigidoc-${version}";
version = "3.13.6";
src = fetchgit {
url = "https://github.com/open-eid/qdigidoc";
rev = "v${version}";
sha256 = "1qq9fgvkc7fi37ly3kgxksrm4m5rxk9k5s5cig8z0cszsfk6h9lx";
fetchSubmodules = true;
};
patches = [
# https://github.com/open-eid/qdigidoc/pull/163
./qt511.patch
];
nativeBuildInputs = [ cmake gettext makeWrapper pkgconfig ];
buildInputs = [
libdigidocpp
opensc
openldap
openssl
pcsclite
qtbase
qttranslations
];
postInstall = ''
wrapProgram $out/bin/qdigidocclient \
--prefix LD_LIBRARY_PATH : ${opensc}/lib/pkcs11/
'';
meta = with stdenv.lib; {
description = "Qt-based UI for signing and verifying DigiDoc documents";
homepage = https://www.id.ee/;
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ yegortimoshenko ];
};
}
|