2013-06-27 10:04:46 +00:00
|
|
|
{ stdenv, fetchurl, libmcrypt, libmhash }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "2.6.8";
|
|
|
|
name = "mcrypt-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/mcrypt/MCrypt/${version}/${name}.tar.gz";
|
|
|
|
sha256 = "5145aa844e54cca89ddab6fb7dd9e5952811d8d787c4f4bf27eb261e6c182098";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [libmcrypt libmhash];
|
|
|
|
|
|
|
|
meta = {
|
2013-10-06 09:49:53 +00:00
|
|
|
description = "Replacement for old UNIX crypt(1)";
|
|
|
|
longDescription = ''
|
|
|
|
mcrypt, and the accompanying libmcrypt, are intended to be replacements
|
|
|
|
for the old Unix crypt, except that they are under the GPL and support an
|
|
|
|
ever-wider range of algorithms and modes.
|
|
|
|
'';
|
2013-06-27 10:04:46 +00:00
|
|
|
homepage = http://mcrypt.sourceforge.net;
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2013-06-27 10:04:46 +00:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.qknight ];
|
|
|
|
};
|
|
|
|
}
|