libdigidocpp: 3.13.3.1365 -> 3.13.6

This commit is contained in:
Jörg Thalheim 2018-06-21 09:38:33 +01:00 committed by Yegor Timoshenko
parent bac254ee7f
commit 6df851d0e5

View File

@ -1,26 +1,22 @@
{ stdenv, fetchurl, cmake, libdigidoc, minizip, pcsclite, opensc, openssl
, xercesc, xml-security-c, pkgconfig, xsd, zlib, vim }:
, xercesc, xml-security-c, pkgconfig, xsd, zlib, xalanc, xxd }:
stdenv.mkDerivation rec {
version = "3.13.3.1365";
version = "3.13.6";
name = "libdigidocpp-${version}";
src = fetchurl {
url = "https://installer.id.ee/media/ubuntu/pool/main/libd/libdigidocpp/libdigidocpp_3.13.3.1365.orig.tar.xz";
sha256 = "1xmvjh5xzspm6ja8hz6bzblwly7yn2jni2m6kx8ny9g65zjrj2iw";
url = "https://github.com/open-eid/libdigidocpp/releases/download/v${version}/libdigidocpp-${version}.tar.gz";
sha256 = "1sdrj7664737k3kbnj2xrnilnx5ifj8hg42z8pxagb0j81x0pnqj";
};
unpackPhase = ''
mkdir src
tar xf $src -C src
cd src
'';
nativeBuildInputs = [ cmake pkgconfig xxd ];
buildInputs = [
libdigidoc minizip pcsclite opensc openssl xercesc
xml-security-c xsd zlib xalanc
];
buildInputs = [ cmake libdigidoc minizip pcsclite opensc openssl xercesc
xml-security-c pkgconfig xsd zlib vim
];
meta = with stdenv.lib; {
description = "Library for creating DigiDoc signature files";
homepage = http://www.id.ee/;