mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
qdigidoc: init at 3.12.0.1442
This commit is contained in:
parent
f6d7cefa7b
commit
05f2f8fc29
3309
pkgs/tools/security/qdigidoc/certs.patch
Normal file
3309
pkgs/tools/security/qdigidoc/certs.patch
Normal file
File diff suppressed because one or more lines are too long
40
pkgs/tools/security/qdigidoc/default.nix
Normal file
40
pkgs/tools/security/qdigidoc/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ stdenv, fetchurl, cmake, ccid, qttools, qttranslations, pkgconfig, pcsclite
|
||||
, hicolor_icon_theme, libdigidocpp, opensc, shared_mime_info, openldap
|
||||
, gettext, desktop_file_utils, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
version = "3.12.0.1442";
|
||||
name = "qdigidoc-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://installer.id.ee/media/ubuntu/pool/main/q/qdigidoc/qdigidoc_3.12.0.1442.orig.tar.xz";
|
||||
sha256 = "1a7nsi28q57ic99hrb6x83qlvpqvzvk6acbfl6ncny2j4yaxa4jl";
|
||||
};
|
||||
|
||||
patches = [ ./certs.patch ];
|
||||
|
||||
unpackPhase = ''
|
||||
mkdir src
|
||||
tar xf $src -C src
|
||||
cd src
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/qdigidocclient \
|
||||
--prefix LD_LIBRARY_PATH : ${opensc}/lib/pkcs11/
|
||||
'';
|
||||
|
||||
buildInputs = [ cmake ccid qttools pkgconfig pcsclite qttranslations
|
||||
hicolor_icon_theme libdigidocpp opensc shared_mime_info
|
||||
openldap gettext desktop_file_utils makeWrapper
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Qt based UI application for verifying and signing digital signatures";
|
||||
homepage = "http://www.id.ee/";
|
||||
license = licenses.lgpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.jagajaga ];
|
||||
};
|
||||
}
|
@ -2982,6 +2982,7 @@ in
|
||||
qdigidoc = qt5.callPackage ../tools/security/qdigidoc { } ;
|
||||
esteidfirefoxplugin = callPackage ../applications/networking/browsers/mozilla-plugins/esteidfirefoxplugin { };
|
||||
|
||||
|
||||
qgifer = callPackage ../applications/video/qgifer {
|
||||
giflib = giflib_4_1;
|
||||
qt = qt4;
|
||||
|
Loading…
Reference in New Issue
Block a user