2015-10-22 13:16:32 +00:00
|
|
|
{ stdenv, fetchurl, libxml2, gnutls, libxslt, pkgconfig, libgcrypt, libtool
|
|
|
|
, openssl, makeWrapper }:
|
2013-03-30 23:07:35 +00:00
|
|
|
|
|
|
|
let
|
2014-10-08 17:52:38 +00:00
|
|
|
version = "1.2.20";
|
2013-03-30 23:07:35 +00:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "xmlsec-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.aleksey.com/xmlsec/download/xmlsec1-${version}.tar.gz";
|
2014-10-08 17:52:38 +00:00
|
|
|
sha256 = "01bkbv2y3x8d1sf4dcln1x3y2jyj391s3208d9a2ndhglly5j89j";
|
2013-03-30 23:07:35 +00:00
|
|
|
};
|
|
|
|
|
2015-10-22 13:16:32 +00:00
|
|
|
buildInputs = [ makeWrapper libxml2 gnutls libxslt pkgconfig libgcrypt libtool openssl ];
|
2013-03-30 23:07:35 +00:00
|
|
|
enableParallelBuilding = true;
|
2015-10-22 13:16:32 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
wrapProgram "$out/bin/xmlsec1" --prefix LD_LIBRARY_PATH ":" "$out/lib"
|
|
|
|
'';
|
2013-03-30 23:07:35 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.aleksey.com/xmlsec;
|
|
|
|
description = "XML Security Library in C based on libxml2";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2015-09-23 04:25:53 +00:00
|
|
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
2013-03-30 23:07:35 +00:00
|
|
|
};
|
|
|
|
}
|