Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, xalanc, xercesc, openssl, pkg-config }: 2 3stdenv.mkDerivation rec { 4 pname = "xml-security-c"; 5 version = "2.0.4"; 6 7 src = fetchurl { 8 url = "mirror://apache/santuario/c-library/${pname}-${version}.tar.gz"; 9 sha256 = "sha256-p42mcg9sK6FBANJCYTHg0z6sWi26XMEb3QSXS364kAM="; 10 }; 11 12 configureFlags = [ 13 "--with-openssl" 14 "--with-xerces" 15 "--with-xalan" 16 ]; 17 18 nativeBuildInputs = [ pkg-config ]; 19 buildInputs = [ xalanc xercesc openssl ]; 20 21 meta = { 22 homepage = "https://santuario.apache.org/"; 23 description = "C++ Implementation of W3C security standards for XML"; 24 license = lib.licenses.gpl2; 25 platforms = lib.platforms.unix; 26 maintainers = [ lib.maintainers.jagajaga ]; 27 }; 28}