3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libpwquality/default.nix

24 lines
659 B
Nix
Raw Normal View History

2017-06-20 04:52:57 +01:00
{ stdenv, lib, fetchFromGitHub, autoreconfHook, perl, cracklib, python }:
stdenv.mkDerivation rec {
pname = "libpwquality";
version = "1.4.1";
2017-06-20 04:52:57 +01:00
src = fetchFromGitHub {
owner = "libpwquality";
repo = "libpwquality";
rev = "${pname}-${version}";
sha256 = "150gk1d0gq9cig3ylyns7fgihgm3qb1basncahgyh1kzxplrdqm7";
};
2017-06-20 04:52:57 +01:00
nativeBuildInputs = [ autoreconfHook perl ];
buildInputs = [ cracklib python ];
2017-06-20 04:52:57 +01:00
meta = with lib; {
description = "Password quality checking and random password generation library";
homepage = https://github.com/libpwquality/libpwquality;
2017-06-20 04:52:57 +01:00
license = licenses.bsd3;
platforms = platforms.unix;
};
}