summary refs log tree commit diff
path: root/pkgs/development/libraries/cracklib/default.nix
blob: b75f03fab7c7458c4251477c81d8244005c896ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl, zlib, gettext }:

stdenv.mkDerivation rec {
  name = "cracklib-2.9.6";

  src = fetchurl {
    url = "https://github.com/cracklib/cracklib/releases/download/${name}/${name}.tar.gz";
    sha256 = "0hrkb0prf7n92w6rxgq0ilzkk6rkhpys2cfqkrbzswp27na7dkqp";
  };

  buildInputs = [ zlib gettext ];

  meta = with stdenv.lib; {
    homepage    = https://github.com/cracklib/cracklib;
    description = "A library for checking the strength of passwords";
    license = licenses.lgpl21; # Different license for the wordlist: http://www.openwall.com/wordlists
    maintainers = with maintainers; [ lovek323 ];
    platforms   = platforms.unix;
  };
}