1{ lib, stdenv
2, fetchurl
3, expat
4, gpgme
5, libgcrypt
6, libxml2
7, libxslt
8, curl
9, docbook_xsl
10}:
11
12stdenv.mkDerivation rec {
13 pname = "libisds";
14 version = "0.11.2";
15
16 src = fetchurl {
17 url = "http://xpisar.wz.cz/${pname}/dist/${pname}-${version}.tar.xz";
18 sha256 = "sha256-YUb4N7J7EaYHHiFI965kUhtNitRTJfmY/ns3MTfkGPs=";
19 };
20
21 configureFlags = [
22 "--with-docbook-xsl-stylesheets=${docbook_xsl}/xml/xsl/docbook"
23 ];
24
25 buildInputs = [ expat gpgme libgcrypt libxml2 libxslt curl docbook_xsl ];
26
27 NIX_CFLAGS_COMPILE = [ "-Wno-error=deprecated-declarations" ];
28
29 meta = with lib; {
30 description = "Client library for accessing SOAP services of Czech government-provided Databox infomation system";
31 homepage = "http://xpisar.wz.cz/libisds/";
32 license = licenses.lgpl3;
33 maintainers = [ maintainers.mmahut ];
34 platforms = platforms.linux;
35 };
36}