mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 17:41:12 +00:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
41 lines
1.2 KiB
Nix
41 lines
1.2 KiB
Nix
{ 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 ];
|
|
};
|
|
}
|