depot/third_party/nixpkgs/pkgs/development/libraries/libmcrypt/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

24 lines
664 B
Nix

{ stdenv, fetchurl, darwin, disablePosixThreads ? false }:
with stdenv.lib;
stdenv.mkDerivation {
name = "libmcrypt-2.5.8";
src = fetchurl {
url = "mirror://sourceforge/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz";
sha256 = "0gipgb939vy9m66d3k8il98rvvwczyaw2ixr8yn6icds9c3nrsz4";
};
buildInputs = optional stdenv.isDarwin darwin.cctools;
configureFlags = optional disablePosixThreads
[ "--disable-posix-threads" ];
meta = {
description = "Replacement for the old crypt() package and crypt(1) command, with extensions";
homepage = "http://mcrypt.sourceforge.net";
license = "GPL";
platforms = platforms.all;
};
}