Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 56 lines 1.1 kB view raw
1{ 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, 15}: 16 17stdenv.mkDerivation rec { 18 pname = "libdatovka"; 19 version = "0.7.1"; 20 21 src = fetchurl { 22 url = "https://gitlab.nic.cz/datovka/libdatovka/-/archive/v${version}/libdatovka-v${version}.tar.gz"; 23 sha256 = "sha256-qVbSxPLYe+PjGwRH2U/V2Ku2X1fRPbDOUjFamCsYVgY="; 24 }; 25 26 patches = [ 27 ./libdatovka-deprecated-fn-curl.patch 28 ]; 29 30 configureFlags = [ 31 "--with-docbook-xsl-stylesheets=${docbook_xsl}/xml/xsl/docbook" 32 ]; 33 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 ]; 48 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 }; 56}