Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
57 lines
1.1 KiB
Nix
57 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
autoreconfHook,
|
|
pkg-config,
|
|
fetchurl,
|
|
expat,
|
|
gpgme,
|
|
libgcrypt,
|
|
libxml2,
|
|
libxslt,
|
|
gnutls,
|
|
curl,
|
|
docbook_xsl,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libdatovka";
|
|
version = "0.7.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://gitlab.nic.cz/datovka/libdatovka/-/archive/v${version}/libdatovka-v${version}.tar.gz";
|
|
sha256 = "sha256-qVbSxPLYe+PjGwRH2U/V2Ku2X1fRPbDOUjFamCsYVgY=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|