2016-05-31 08:18:37 +00:00
|
|
|
{ stdenv, fetchurl, darwin, disablePosixThreads ? false }:
|
2013-02-12 18:33:39 +00:00
|
|
|
|
|
|
|
with stdenv.lib;
|
2012-12-01 20:28:32 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2012-12-01 20:28:32 +00:00
|
|
|
name = "libmcrypt-2.5.8";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2020-04-01 01:11:51 +00:00
|
|
|
url = "mirror://sourceforge/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz";
|
2012-12-01 20:28:32 +00:00
|
|
|
sha256 = "0gipgb939vy9m66d3k8il98rvvwczyaw2ixr8yn6icds9c3nrsz4";
|
|
|
|
};
|
|
|
|
|
2016-05-31 08:18:37 +00:00
|
|
|
buildInputs = optional stdenv.isDarwin darwin.cctools;
|
2012-12-01 20:28:32 +00:00
|
|
|
|
2013-02-12 18:33:39 +00:00
|
|
|
configureFlags = optional disablePosixThreads
|
|
|
|
[ "--disable-posix-threads" ];
|
|
|
|
|
2012-12-01 20:28:32 +00:00
|
|
|
meta = {
|
2013-10-06 09:49:53 +00:00
|
|
|
description = "Replacement for the old crypt() package and crypt(1) command, with extensions";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://mcrypt.sourceforge.net";
|
2013-02-12 18:33:39 +00:00
|
|
|
license = "GPL";
|
2016-05-31 08:18:37 +00:00
|
|
|
platforms = platforms.all;
|
2012-12-01 20:28:32 +00:00
|
|
|
};
|
|
|
|
}
|