summary refs log tree commit diff
path: root/pkgs/development/libraries/libmcrypt/default.nix
blob: 79019cbc4891eeff8f0ec4f0f61fcf6ed3366329 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchurl, 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 = [];

  configureFlags = optional disablePosixThreads
    [ "--disable-posix-threads" ];

  meta = {
    description = "MCrypt is a replacement for the old crypt() package and crypt(1) command, with extensions.";
    homepage = http://mcrypt.sourceforge.net;
    license = "GPL";
  };
}