python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / libmcrypt / default.nix
blob953a6d03e5e6ccb0a3405ec6d9010ecd001eb962
1 { lib, stdenv, fetchurl, darwin, disablePosixThreads ? false }:
3 with lib;
5 stdenv.mkDerivation rec {
6   pname = "libmcrypt";
7   version = "2.5.8";
9   src = fetchurl {
10     url = "mirror://sourceforge/mcrypt/Libmcrypt/${version}/libmcrypt-${version}.tar.gz";
11     sha256 = "0gipgb939vy9m66d3k8il98rvvwczyaw2ixr8yn6icds9c3nrsz4";
12   };
14   buildInputs = optional stdenv.isDarwin darwin.cctools;
16   configureFlags = optionals disablePosixThreads
17     [ "--disable-posix-threads" ];
19   meta = {
20     description = "Replacement for the old crypt() package and crypt(1) command, with extensions";
21     homepage = "http://mcrypt.sourceforge.net";
22     license = "GPL";
23     platforms = platforms.all;
24   };