summary refs log tree commit diff
path: root/pkgs/development/libraries/xmlsec
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2013-03-31 00:07:35 +0100
committerLluís Batlle i Rossell <viric@viric.name>2013-03-31 00:08:17 +0100
commit6281042defb4a113f71e6a66dcce7ffc631a9e45 (patch)
treea46e048e65229ee898b05b3112184e0effe30783 /pkgs/development/libraries/xmlsec
parent2ba0d9d3ae9da72620a40d38935201ea3df949a1 (diff)
downloadnixpkgs-6281042defb4a113f71e6a66dcce7ffc631a9e45.tar
nixpkgs-6281042defb4a113f71e6a66dcce7ffc631a9e45.tar.gz
nixpkgs-6281042defb4a113f71e6a66dcce7ffc631a9e45.tar.bz2
nixpkgs-6281042defb4a113f71e6a66dcce7ffc631a9e45.tar.lz
nixpkgs-6281042defb4a113f71e6a66dcce7ffc631a9e45.tar.xz
nixpkgs-6281042defb4a113f71e6a66dcce7ffc631a9e45.tar.zst
nixpkgs-6281042defb4a113f71e6a66dcce7ffc631a9e45.zip
Adding oath-toolkit and xmlsec
I added xmlsec to make it work with oath-toolkit (to build one extra tool
there, that I don't need), but I couldn't make it work together.
Diffstat (limited to 'pkgs/development/libraries/xmlsec')
-rw-r--r--pkgs/development/libraries/xmlsec/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/libraries/xmlsec/default.nix b/pkgs/development/libraries/xmlsec/default.nix
new file mode 100644
index 00000000000..afb23e4de35
--- /dev/null
+++ b/pkgs/development/libraries/xmlsec/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchurl, libxml2, gnutls, libxslt, pkgconfig, libgcrypt, libtool }:
+
+let
+  version = "1.2.19";
+in
+stdenv.mkDerivation rec {
+  name = "xmlsec-${version}";
+
+  src = fetchurl {
+    url = "http://www.aleksey.com/xmlsec/download/xmlsec1-${version}.tar.gz";
+    sha256 = "1h5ar0h8n0l8isgic82w00cwfpw7i9wxw17kbdb6q3yvzb4zgj1g";
+  };
+
+  buildInputs = [ libxml2 gnutls libxslt pkgconfig libgcrypt libtool ];
+
+  enableParallelBuilding = true;
+
+  meta = {
+    homepage = http://www.aleksey.com/xmlsec;
+    description = "XML Security Library in C based on libxml2";
+    license = "MIT";
+    platforms = stdenv.lib.platforms.linux;
+  };
+}