1ffc76754d
GitOrigin-RevId: a5cc7d3197705f933d88e97c0c61849219ce76c1
27 lines
831 B
Nix
27 lines
831 B
Nix
{ stdenv, fetchurl, cmake, libdigidoc, minizip, pcsclite, opensc, openssl
|
|
, xercesc, xml-security-c, pkgconfig, xsd, zlib, xalanc, xxd }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "3.14.3";
|
|
pname = "libdigidocpp";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/open-eid/libdigidocpp/releases/download/v${version}/libdigidocpp-${version}.tar.gz";
|
|
sha256 = "1hq1q2frqnm4wxcfr7vn8kqwyfdz3hx22w40kn69zh140pig6jc5";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig xxd ];
|
|
|
|
buildInputs = [
|
|
libdigidoc minizip pcsclite opensc openssl xercesc
|
|
xml-security-c xsd zlib xalanc
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Library for creating DigiDoc signature files";
|
|
homepage = "http://www.id.ee/";
|
|
license = licenses.lgpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.jagajaga ];
|
|
};
|
|
}
|