1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 02:46:38 +00:00
nixpkgs/pkgs/development/libraries/libmcrypt/default.nix
2016-05-31 09:18:37 +01:00

25 lines
664 B
Nix

{ stdenv, fetchurl, darwin, disablePosixThreads ? false }:
with stdenv.lib;
stdenv.mkDerivation rec {
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;
};
}