nixpkgs/pkgs/development/libraries/libpwquality/default.nix
R. RyanTM f5e74b4cd2 libpwquality: 1.4.0 -> 1.4.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/libpwquality/versions
2019-09-27 09:18:57 -07:00

24 lines
659 B
Nix

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