2016-04-26 20:12:55 +00:00
|
|
|
{ stdenv, fetchurl, cmake, libdigidoc, minizip, pcsclite, opensc, openssl
|
2021-01-19 06:50:56 +00:00
|
|
|
, xercesc, xml-security-c, pkg-config, xsd, zlib, xalanc, xxd }:
|
2016-04-26 20:12:55 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-10-18 17:53:39 +00:00
|
|
|
version = "3.14.4";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "libdigidocpp";
|
2016-04-26 20:12:55 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-21 08:38:33 +00:00
|
|
|
url = "https://github.com/open-eid/libdigidocpp/releases/download/v${version}/libdigidocpp-${version}.tar.gz";
|
2020-10-18 17:53:39 +00:00
|
|
|
sha256 = "1x72icq5lp5cfv6kyxqc3863wa164s0g41nbi6gldr8syprzdk1l";
|
2016-04-26 20:12:55 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config xxd ];
|
2018-06-21 08:38:33 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libdigidoc minizip pcsclite opensc openssl xercesc
|
|
|
|
xml-security-c xsd zlib xalanc
|
|
|
|
];
|
2016-04-26 20:12:55 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Library for creating DigiDoc signature files";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.id.ee/";
|
2016-04-26 20:12:55 +00:00
|
|
|
license = licenses.lgpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.jagajaga ];
|
|
|
|
};
|
|
|
|
}
|