2016-04-26 22:12:55 +02:00
|
|
|
{ stdenv, fetchurl, cmake, libdigidoc, minizip, pcsclite, opensc, openssl
|
|
|
|
, xercesc, xml-security-c, pkgconfig, xsd, zlib, vim }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2018-03-09 06:19:06 +01:00
|
|
|
version = "3.13.3.1365";
|
2016-04-26 22:12:55 +02:00
|
|
|
name = "libdigidocpp-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-09 06:19:06 +01:00
|
|
|
url = "https://installer.id.ee/media/ubuntu/pool/main/libd/libdigidocpp/libdigidocpp_3.13.3.1365.orig.tar.xz";
|
|
|
|
sha256 = "1xmvjh5xzspm6ja8hz6bzblwly7yn2jni2m6kx8ny9g65zjrj2iw";
|
2016-04-26 22:12:55 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
unpackPhase = ''
|
|
|
|
mkdir src
|
|
|
|
tar xf $src -C src
|
|
|
|
cd src
|
|
|
|
'';
|
|
|
|
|
|
|
|
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";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://www.id.ee/;
|
2016-04-26 22:12:55 +02:00
|
|
|
license = licenses.lgpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.jagajaga ];
|
|
|
|
};
|
|
|
|
}
|