summary refs log tree commit diff
path: root/pkgs/tools/security/meo
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2013-05-20 23:12:21 +0200
committerLluís Batlle i Rossell <viric@viric.name>2013-05-20 23:13:40 +0200
commitec65563e2c23be200aaea85c492711c6b57da416 (patch)
tree262dab69e2286c79e00b3b06ed737cb2453a117c /pkgs/tools/security/meo
parent610b499fef05df0c207843807a268b6bccae4f2b (diff)
downloadnixlib-ec65563e2c23be200aaea85c492711c6b57da416.tar
nixlib-ec65563e2c23be200aaea85c492711c6b57da416.tar.gz
nixlib-ec65563e2c23be200aaea85c492711c6b57da416.tar.bz2
nixlib-ec65563e2c23be200aaea85c492711c6b57da416.tar.lz
nixlib-ec65563e2c23be200aaea85c492711c6b57da416.tar.xz
nixlib-ec65563e2c23be200aaea85c492711c6b57da416.tar.zst
nixlib-ec65563e2c23be200aaea85c492711c6b57da416.zip
Adding meo: Multiple Eyepairs Only
I also add the pkcs11helper it needs.
Diffstat (limited to 'pkgs/tools/security/meo')
-rw-r--r--pkgs/tools/security/meo/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/tools/security/meo/default.nix b/pkgs/tools/security/meo/default.nix
new file mode 100644
index 000000000000..e18b68c7593f
--- /dev/null
+++ b/pkgs/tools/security/meo/default.nix
@@ -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;
+  };
+}