e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
43 lines
1,017 B
Nix
43 lines
1,017 B
Nix
{ lib
|
|
, stdenv
|
|
, autoreconfHook
|
|
, pkg-config
|
|
, fetchurl
|
|
, expat
|
|
, gpgme
|
|
, libgcrypt
|
|
, libxml2
|
|
, libxslt
|
|
, gnutls
|
|
, curl
|
|
, docbook_xsl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libdatovka";
|
|
version = "0.6.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://gitlab.nic.cz/datovka/libdatovka/-/archive/v${version}/libdatovka-v${version}.tar.gz";
|
|
sha256 = "sha256-+n2gKEi0TyTl/zEdJYpX1oPfGSftk6TzVjbVOuIMU3Q=";
|
|
};
|
|
|
|
patches = [
|
|
./libdatovka-deprecated-fn-curl.patch
|
|
];
|
|
|
|
configureFlags = [
|
|
"--with-docbook-xsl-stylesheets=${docbook_xsl}/xml/xsl/docbook"
|
|
];
|
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
|
buildInputs = [ expat gpgme libgcrypt libxml2 libxslt gnutls curl docbook_xsl ];
|
|
|
|
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;
|
|
};
|
|
}
|