openxray: 2188-november-2023-rc1 -> 2921-january-2025-rc1 (#375925)
[NixPkgs.git] / pkgs / by-name / li / libdatovka / package.nix
blob3f7bbef3c1a8d1141e97140c13f4de13aa541277
2   lib,
3   stdenv,
4   autoreconfHook,
5   pkg-config,
6   fetchurl,
7   expat,
8   gpgme,
9   libgcrypt,
10   libxml2,
11   libxslt,
12   gnutls,
13   curl,
14   docbook_xsl,
17 stdenv.mkDerivation rec {
18   pname = "libdatovka";
19   version = "0.7.0";
21   src = fetchurl {
22     url = "https://gitlab.nic.cz/datovka/libdatovka/-/archive/v${version}/libdatovka-v${version}.tar.gz";
23     sha256 = "sha256-D/4+ldVnJrPAPrgrV1V4FfgCzgMbw/f/rxWT7Esf8Wk=";
24   };
26   patches = [
27     ./libdatovka-deprecated-fn-curl.patch
28   ];
30   configureFlags = [
31     "--with-docbook-xsl-stylesheets=${docbook_xsl}/xml/xsl/docbook"
32   ];
34   nativeBuildInputs = [
35     pkg-config
36     autoreconfHook
37   ];
38   buildInputs = [
39     expat
40     gpgme
41     libgcrypt
42     libxml2
43     libxslt
44     gnutls
45     curl
46     docbook_xsl
47   ];
49   meta = with lib; {
50     description = "Client library for accessing SOAP services of Czech government-provided Databox infomation system";
51     homepage = "https://gitlab.nic.cz/datovka/libdatovka";
52     license = licenses.gpl3Plus;
53     maintainers = [ maintainers.ovlach ];
54     platforms = platforms.linux;
55   };