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 { 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 { stdenv.mkDerivation rec {
version = "3.13.6";
version = "3.13.3.1365";
name = "libdigidocpp-${version}"; name = "libdigidocpp-${version}";
src = fetchurl { src = fetchurl {
url = "https://installer.id.ee/media/ubuntu/pool/main/libd/libdigidocpp/libdigidocpp_3.13.3.1365.orig.tar.xz"; url = "https://github.com/open-eid/libdigidocpp/releases/download/v${version}/libdigidocpp-${version}.tar.gz";
sha256 = "1xmvjh5xzspm6ja8hz6bzblwly7yn2jni2m6kx8ny9g65zjrj2iw"; sha256 = "1sdrj7664737k3kbnj2xrnilnx5ifj8hg42z8pxagb0j81x0pnqj";
}; };
unpackPhase = '' nativeBuildInputs = [ cmake pkgconfig xxd ];
mkdir src
tar xf $src -C src buildInputs = [
cd src 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; { meta = with stdenv.lib; {
description = "Library for creating DigiDoc signature files"; description = "Library for creating DigiDoc signature files";
homepage = http://www.id.ee/; homepage = http://www.id.ee/;