at 16.09-beta 44 lines 1.4 kB view raw
1{ stdenv, fetchurl, perl, makeWrapper, perlPackages }: 2 3stdenv.mkDerivation rec { 4 name = "monkeysphere-${version}"; 5 version = "0.37"; 6 7 src = fetchurl { 8 url = "http://archive.monkeysphere.info/debian/pool/monkeysphere/m/monkeysphere/monkeysphere_0.37.orig.tar.gz"; 9 sha256 = "0nbfd220miflah5l2y20qlmgfpbqi0j8h7qgx1b06h7v2jjbh45m"; 10 }; 11 12 buildInputs = [ makeWrapper perl ]; 13 14 patches = [ ./monkeysphere.patch ]; 15 16 makeFlags = '' 17 PREFIX=/ 18 DESTDIR=$(out) 19 ''; 20 21 postInstall = '' 22 wrapProgram $out/bin/openpgp2ssh --prefix PERL5LIB : \ 23 "${with perlPackages; stdenv.lib.makePerlPath [ 24 CryptOpenSSLRSA 25 CryptOpenSSLBignum 26 ]}" 27 ''; 28 29 meta = with stdenv.lib; { 30 homepage = http://web.monkeysphere.info/; 31 description = "Leverage the OpenPGP web of trust for SSH and TLS authentication"; 32 longDescription = '' 33 The Monkeysphere project's goal is to extend OpenPGP's web of 34 trust to new areas of the Internet to help us securely identify 35 servers we connect to, as well as each other while we work online. 36 The suite of Monkeysphere utilities provides a framework to 37 transparently leverage the web of trust for authentication of 38 TLS/SSL communications through the normal use of tools you are 39 familiar with, such as your web browser0 or secure shell. 40 ''; 41 license = licenses.gpl3; 42 platforms = platforms.all; 43 }; 44}