2016-04-26 22:12:55 +02:00
|
|
|
{ stdenv, fetchurl, cmake, libdigidoc, minizip, pcsclite, opensc, openssl
|
2018-06-21 10:38:33 +02:00
|
|
|
, xercesc, xml-security-c, pkgconfig, xsd, zlib, xalanc, xxd }:
|
2016-04-26 22:12:55 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-02-07 13:43:22 +01:00
|
|
|
version = "3.14.2";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "libdigidocpp";
|
2016-04-26 22:12:55 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-21 10:38:33 +02:00
|
|
|
url = "https://github.com/open-eid/libdigidocpp/releases/download/v${version}/libdigidocpp-${version}.tar.gz";
|
2020-02-07 13:43:22 +01:00
|
|
|
sha256 = "0d3p72gvnj00bxl6lzh6n5x1r37wj54mzzv700gngcvr3m62lkbv";
|
2016-04-26 22:12:55 +02:00
|
|
|
};
|
|
|
|
|
2018-06-21 10:38:33 +02:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig xxd ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libdigidoc minizip pcsclite opensc openssl xercesc
|
|
|
|
xml-security-c xsd zlib xalanc
|
|
|
|
];
|
2016-04-26 22:12:55 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library for creating DigiDoc signature files";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.id.ee/";
|
2016-04-26 22:12:55 +02:00
|
|
|
license = licenses.lgpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.jagajaga ];
|
|
|
|
};
|
|
|
|
}
|