at v192 588 B view raw
1{ stdenv, fetchurl, 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 = []; 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 }; 23}