depot/third_party/nixpkgs/pkgs/development/libraries/libpwquality/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

23 lines
663 B
Nix

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