2023-01-18 14:14:11 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, autoreconfHook
|
|
|
|
, pkg-config
|
|
|
|
, fetchurl
|
|
|
|
, expat
|
|
|
|
, gpgme
|
|
|
|
, libgcrypt
|
|
|
|
, libxml2
|
|
|
|
, libxslt
|
|
|
|
, gnutls
|
|
|
|
, curl
|
|
|
|
, docbook_xsl
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libdatovka";
|
2023-03-03 11:15:38 +00:00
|
|
|
version = "0.3.0";
|
2023-01-18 14:14:11 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://gitlab.nic.cz/datovka/libdatovka/-/archive/v${version}/libdatovka-v${version}.tar.gz";
|
2023-03-03 11:15:38 +00:00
|
|
|
sha256 = "sha256-aG7U8jP3pvOeFDetYVOx+cE78ys0uSkKNjSgB09ste8=";
|
2023-01-18 14:14:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./libdatovka-deprecated-fn-curl.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-docbook-xsl-stylesheets=${docbook_xsl}/xml/xsl/docbook"
|
|
|
|
];
|
|
|
|
|
2023-03-10 22:55:17 +00:00
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
|
|
|
buildInputs = [ expat gpgme libgcrypt libxml2 libxslt gnutls curl docbook_xsl ];
|
2023-01-18 14:14:11 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Client library for accessing SOAP services of Czech government-provided Databox infomation system";
|
|
|
|
homepage = "https://gitlab.nic.cz/datovka/libdatovka";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = [ maintainers.ovlach ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|