2ce5db779a
GitOrigin-RevId: 48037fd90426e44e4bf03e6479e88a11453b9b66
27 lines
812 B
Nix
27 lines
812 B
Nix
{ lib, stdenv, fetchurl, cmake, minizip, pcsclite, opensc, openssl
|
|
, xercesc, xml-security-c, pkg-config, xsd, zlib, xalanc, xxd }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "3.14.8";
|
|
pname = "libdigidocpp";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/open-eid/libdigidocpp/releases/download/v${version}/libdigidocpp-${version}.tar.gz";
|
|
sha256 = "sha256-U5i5IAyJF4359q6M6mQemEuG7+inPYIXqLy8GHv4dkg=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkg-config xxd ];
|
|
|
|
buildInputs = [
|
|
minizip pcsclite opensc openssl xercesc
|
|
xml-security-c xsd zlib xalanc
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Library for creating DigiDoc signature files";
|
|
homepage = "http://www.id.ee/";
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.jagajaga ];
|
|
};
|
|
}
|