at 16.09-beta 24 lines 664 B view raw
1{ stdenv, fetchurl, darwin, disablePosixThreads ? false }: 2 3with stdenv.lib; 4 5stdenv.mkDerivation rec { 6 name = "libmcrypt-2.5.8"; 7 8 src = fetchurl { 9 url = mirror://sourceforge/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz; 10 sha256 = "0gipgb939vy9m66d3k8il98rvvwczyaw2ixr8yn6icds9c3nrsz4"; 11 }; 12 13 buildInputs = optional stdenv.isDarwin darwin.cctools; 14 15 configureFlags = optional disablePosixThreads 16 [ "--disable-posix-threads" ]; 17 18 meta = { 19 description = "Replacement for the old crypt() package and crypt(1) command, with extensions"; 20 homepage = http://mcrypt.sourceforge.net; 21 license = "GPL"; 22 platforms = platforms.all; 23 }; 24}