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.
This commit is contained in:
parent
2ba0d9d3ae
commit
6281042def
24
pkgs/development/libraries/xmlsec/default.nix
Normal file
24
pkgs/development/libraries/xmlsec/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
18
pkgs/tools/security/oath-toolkit/default.nix
Normal file
18
pkgs/tools/security/oath-toolkit/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ stdenv, fetchurl, pam }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "oath-toolkit-2.0.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.savannah.gnu.org/releases/oath-toolkit/${name}.tar.gz";
|
||||
sha256 = "0i2rf5j83kb8h3sd9lsm0a46zq805kzagvccc4rk7879lg1fnl99";
|
||||
};
|
||||
|
||||
buildInputs = [ pam ];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.nongnu.org/oath-toolkit/;
|
||||
description = "Components for building one-time password authentication systems";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -1271,6 +1271,8 @@ let
|
||||
|
||||
nzbget = callPackage ../tools/networking/nzbget { };
|
||||
|
||||
oathToolkit = callPackage ../tools/security/oath-toolkit { };
|
||||
|
||||
obex_data_server = callPackage ../tools/bluetooth/obex-data-server { };
|
||||
|
||||
obexd = callPackage ../tools/bluetooth/obexd { };
|
||||
@ -5242,6 +5244,8 @@ let
|
||||
jvm = gcj;
|
||||
xerces = xercesJava; };
|
||||
|
||||
xmlsec = callPackage ../development/libraries/xmlsec { };
|
||||
|
||||
zziplib = callPackage ../development/libraries/zziplib { };
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user