2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake, libdigidoc, minizip, pcsclite, opensc, openssl
|
|
|
|
, xercesc, xml-security-c, pkg-config, xsd, zlib, xalanc, xxd }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-11-30 08:33:03 +00:00
|
|
|
version = "3.14.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "libdigidocpp";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/open-eid/libdigidocpp/releases/download/v${version}/libdigidocpp-${version}.tar.gz";
|
2020-11-30 08:33:03 +00:00
|
|
|
sha256 = "1x72icq5lp5cfv6kyxqc3863wa164s0g41nbi6gldr8syprzdk1l";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config xxd ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libdigidoc minizip pcsclite opensc openssl xercesc
|
|
|
|
xml-security-c xsd zlib xalanc
|
|
|
|
];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Library for creating DigiDoc signature files";
|
|
|
|
homepage = "http://www.id.ee/";
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.jagajaga ];
|
|
|
|
};
|
|
|
|
}
|