depot/third_party/nixpkgs/pkgs/development/libraries/libdatovka/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

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.2";
src = fetchurl {
url = "https://gitlab.nic.cz/datovka/libdatovka/-/archive/v${version}/libdatovka-v${version}.tar.gz";
sha256 = "sha256-4JFPlEpSFv5t3p/NGq0cfn+neJj2M0BNWWd6nlCjHE0=";
};
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;
};
}