@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, disablePosixThreads ? false }:
1+{ stdenv, fetchurl, darwin, disablePosixThreads ? false }:
22
33with stdenv.lib;
44
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
1010 sha256 = "0gipgb939vy9m66d3k8il98rvvwczyaw2ixr8yn6icds9c3nrsz4";
1111 };
1212
13− buildInputs = [];
13+ buildInputs = optional stdenv.isDarwin darwin.cctools;
1414
1515 configureFlags = optional disablePosixThreads
1616 [ "--disable-posix-threads" ];
@@ -19,5 +19,6 @@ stdenv.mkDerivation rec {
1919 description = "Replacement for the old crypt() package and crypt(1) command, with extensions";
2020 homepage = http://mcrypt.sourceforge.net;
2121 license = "GPL";
22+ platforms = platforms.all;
2223 };
2324}