2013-02-12 22:33:39 +04:00
|
|
|
{ stdenv, fetchurl, disablePosixThreads ? false }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
2012-12-02 00:28:32 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libmcrypt-2.5.8";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://sourceforge/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz;
|
|
|
|
sha256 = "0gipgb939vy9m66d3k8il98rvvwczyaw2ixr8yn6icds9c3nrsz4";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [];
|
|
|
|
|
2013-02-12 22:33:39 +04:00
|
|
|
configureFlags = optional disablePosixThreads
|
|
|
|
[ "--disable-posix-threads" ];
|
|
|
|
|
2012-12-02 00:28:32 +04:00
|
|
|
meta = {
|
2013-02-12 22:33:39 +04:00
|
|
|
description = "MCrypt is a replacement for the old crypt() package and crypt(1) command, with extensions.";
|
2012-12-02 00:28:32 +04:00
|
|
|
homepage = http://mcrypt.sourceforge.net;
|
2013-02-12 22:33:39 +04:00
|
|
|
license = "GPL";
|
2012-12-02 00:28:32 +04:00
|
|
|
};
|
|
|
|
}
|