mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
Adding meo: Multiple Eyepairs Only
I also add the pkcs11helper it needs.
This commit is contained in:
parent
610b499fef
commit
ec65563e2c
24
pkgs/development/libraries/pkcs11helper/default.nix
Normal file
24
pkgs/development/libraries/pkcs11helper/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, fetchurl, pkgconfig, openssl, autoconf, automake, libtool }:
|
||||
|
||||
let
|
||||
rev = "5d412bad60";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pkcs11-helper-20121123-${rev}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/alonbl/pkcs11-helper/tarball/${rev}";
|
||||
name = "${name}.tar.gz";
|
||||
sha256 = "1mih6mha39yr5s5m18lg4854qc105asgnwmjw7f95kgmzni62kxp";
|
||||
};
|
||||
|
||||
preConfigure = "autoreconf -vfi";
|
||||
|
||||
buildInputs = [ pkgconfig openssl autoconf automake libtool ];
|
||||
|
||||
meta = {
|
||||
homepage = https://www.opensc-project.org/opensc/wiki/pkcs11-helper;
|
||||
license = [ "BSD" "GPLv2" ];
|
||||
description = "Library that simplifies the interaction with PKCS#11 providers";
|
||||
};
|
||||
}
|
34
pkgs/tools/security/meo/default.nix
Normal file
34
pkgs/tools/security/meo/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ stdenv, fetchhg, openssl, pcre, qt4, boost, pkcs11helper }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "meo-20121113";
|
||||
|
||||
src = fetchhg {
|
||||
url = http://oss.stamfest.net/hg/meo;
|
||||
tag = "b48e5f16cff8";
|
||||
sha256 = "0ifg7y28s89i9gwda6fyj1jbrykbcvq8bf1m6rxmdcv5afi3arbq";
|
||||
};
|
||||
|
||||
buildFlags = "QMAKE=qmake";
|
||||
|
||||
buildInputs = [ openssl pcre qt4 boost pkcs11helper ];
|
||||
|
||||
preConfigure = ''
|
||||
sed -i s,-mt$,, meo-gui/meo-gui.pro
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
ensureDir $out/bin
|
||||
cp tools/{meo,p11} $out/bin
|
||||
cp meo-gui/meo-gui $out/bin
|
||||
cp meo-gui/meo-gui $out/bin
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://oss.stamfest.net/wordpress/meo-multiple-eyepairs-only;
|
||||
description = "Tools to use cryptography for things like four-eyes principles";
|
||||
license = "AGPLv3+";
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
};
|
||||
}
|
|
@ -1155,6 +1155,8 @@ let
|
|||
|
||||
memtest86plus = callPackage ../tools/misc/memtest86/plus.nix { };
|
||||
|
||||
meo = callPackage ../tools/security/meo { };
|
||||
|
||||
mc = callPackage ../tools/misc/mc { };
|
||||
|
||||
mcabber = callPackage ../applications/networking/instant-messengers/mcabber { };
|
||||
|
@ -4855,6 +4857,8 @@ let
|
|||
|
||||
physfs = callPackage ../development/libraries/physfs { };
|
||||
|
||||
pkcs11helper = callPackage ../development/libraries/pkcs11helper { };
|
||||
|
||||
plib = callPackage ../development/libraries/plib { };
|
||||
|
||||
pocketsphinx = callPackage ../development/libraries/pocketsphinx { };
|
||||
|
|
Loading…
Reference in a new issue